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