C
Colin McGuire
Hi, according to the on-line documentation you can change the
background colour of, for example a button, to Gray as shown below.
Dim b as Button
b.BackColor=Color.Gray
If I programmatically want to change the background colour of a button
to the default background colour for controls, it may or may not be
grey (depending on the preferences, eg Windows Classic style vs.
Windows XP style or a customised style may have changed the default
colouts). So how do you retrieve the default background colour for
controls ?
Thank you
Colin
background colour of, for example a button, to Gray as shown below.
Dim b as Button
b.BackColor=Color.Gray
If I programmatically want to change the background colour of a button
to the default background colour for controls, it may or may not be
grey (depending on the preferences, eg Windows Classic style vs.
Windows XP style or a customised style may have changed the default
colouts). So how do you retrieve the default background colour for
controls ?
Thank you
Colin