Quantcast
Channel: LabWindows/CVI topics
Viewing all articles
Browse latest Browse all 5361

how to change text of button during execution?

$
0
0

hello everyone, i am new in labwindows... i will change the button background color, but it doesn't support, therefore i will change the text of the button during running the program. i have made a ring to choose which color, but it doesn't happen any change???!!! i have used:

GetCtrlVal (panelHandle, PANEL_RING, &color);
SetCtrlAttribute (panelHandle, PANEL_COMMANDBUTTON, ATTR_LABEL_COLOR, color);

the color has integer values from 0-18 for VAL_RED until VAL_LT_GRAY. when i choose a color and press the button, nothing is changed???!!! can anyone help me out? thanks

 


Viewing all articles
Browse latest Browse all 5361

Trending Articles