Solved

Setting background colors.

Posted on 2002-06-27
3
149 Views
Last Modified: 2010-05-02
I want to set the colors of objects to the color the user chose for Highlite in the control panel.

lblTest.BackColor = ?

I know I can set them in the properties but I want to be able to change the background should the user select the label.
0
Comment
Question by:Rah082800
3 Comments
 

Accepted Solution

by:
VBGuy91917 earned 50 total points
ID: 7113807
is this what you're talking about?

lblTest.BackColor = vbHighlight
0
 
LVL 18

Expert Comment

by:bobbit31
ID: 7113812
lblTest.BackColor = &H8000000D&
0
 

Author Comment

by:Rah082800
ID: 7113829
That be it.

So simple, just suffering from brain freeze.

Thanks.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

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

Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…

828 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