LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

how can i write text inside the colour numeric ?

 I am a new new comer in this group. I am using Lab/Windows/CVI 7.1 . I need to change colour of a button and text colour inside the button . Plz reply soon .
 
 
 
 
With Regards
Subrata
 
0 Kudos
Message 1 of 2
(2,893 Views)
You can use SetCtrlAttribute command, with ATTR_COMMAND_BUTTON_COLOR and ATTR_LABEL_COLOR attributes to change the corresponding colors to whichever value you want. The online help for these attributes lists also a series of predefined colours to use: in case you want a different color you can use MakeColor function to create it.


Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 2 of 2
(2,890 Views)