Solved

backcolor

Posted on 2006-07-01
1
334 Views
Last Modified: 2010-04-23
From a button you can select a backcolor. I choose the color "Control". And i set UsevisualStyleBackcolor = false. Later in the programm I changed the backcolor from this button to  green. Later on I want to change it back (runtime) to the original color "Control"
How can I do that? I can't find a &Hxxxx colornumber and control is not a number?
0
Comment
Question by:dgb
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 10

Accepted Solution

by:
ericwong27 earned 500 total points
ID: 17022836

 Me.CloseButton.BackColor = System.Drawing.Color.Green
 Me.CloseButton.BackColor = System.Drawing.SystemColors.Control
0

Featured Post

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

Well, all of us have seen the multiple EXCEL.EXE's in task manager that won't die even if you call the .close, .dispose methods. Try this method to kill any excels in memory. You can copy the kill function to create a check function and replace the …
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…

688 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