Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Colors and color defining

Posted on 1998-09-01
1
Medium Priority
?
238 Views
Last Modified: 2010-04-30
IS there a way to make all colors in one definition?
Example: Allcolors = (vbred, vbblack, vbblue,...)
Example: Allcolors = (Rgb, A, B, C) 'so that a, b, & c are 1 to 255
0
Comment
Question by:bradsoblesky
1 Comment
 
LVL 2

Accepted Solution

by:
DanAvni earned 0 total points
ID: 1432444
Hi,

You can use the RGB function.
for example
Color = RGB(nRED,nGReen,nBlue)

Where nRed,nGreen,nBlue are the RGB colors you want.
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Suggested Courses

571 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question