Solved

backcolor

Posted on 2006-07-01
1
332 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
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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

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

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 …
The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

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