Solved

backcolor

Posted on 2006-07-01
1
329 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
Comment Utility

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

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Article by: Kraeven
Introduction Remote Share is a simple remote sharing tool, enabling you to see, add and remove remote or local shares. The application is written in VB.NET targeting the .NET framework 2.0. The source code and the compiled programs have been in…
If you're writing a .NET application to connect to an Access .mdb database and use pre-existing queries that require parameters, you've come to the right place! Let's say the pre-existing query(qryCust) in Access takes a Date as a parameter and l…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

743 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

17 Experts available now in Live!

Get 1:1 Help Now