vbButtonFace equivalent

PedroA

Active member
Joined
Oct 14, 2013
Messages
26
Programming Experience
Beginner
Hi,

Is there a equivalent to 'vbButtonFace' as used in VB6?

ftype1.BackColor = vbButtonFace

Thanks
 
If you want to set a colour based on the current system theme then you use the SystemColors class. It has properties that correspond to system theme settings rather than constant colours. One of those properties is ButtonFace.
 
Back
Top