Hello Friends,
A small problem is troubling me a lot. I am using a Toggle OFF-ON button. I want to program it like if I perform EVENT_LEFT_CLICK, I should get in my variable attribute =1 using command GetCtrlVal (panel, PANEL_TOGGLEBUTTON,&attribute). Similarly when I release the event, i.e. if I perform EVENT_LEFT_CLICK_UP, I should get attribute value =0.
But everytime if I perform the first operation EVENT_LEFT_CLICK without leaving the mouse click, I get attribute =0.
Can someone help?
Best Regards
Raunak