Solved

Setting background colors.

Posted on 2002-06-27
3
146 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
Comment Utility
is this what you're talking about?

lblTest.BackColor = vbHighlight
0
 
LVL 18

Expert Comment

by:bobbit31
Comment Utility
lblTest.BackColor = &H8000000D&
0
 

Author Comment

by:Rah082800
Comment Utility
That be it.

So simple, just suffering from brain freeze.

Thanks.
0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
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 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…

744 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now