LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Toggle button background color?

Aha so I suppose I was reading the help incorrectly. Just curious why wasn't ATTR_TEXT_BGCOLOR supported for toggle/text button?

*************************************************
CLD
*************************************************
0 Kudos
Message 11 of 12
(880 Views)

Because toggle buttons, unlike other controls with text, have two background colors, not one. Those colors are set using the ATTR_ON_COLOR and ATTR_OFF_COLOR attributes. It wouldn't make sense to also allow ATTR_TEXT_BGCOLOR to operate on these controls.

 

Luis

0 Kudos
Message 12 of 12
(867 Views)