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

ON-OFF Toggle button Event left click

$
0
0

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


Viewing all articles
Browse latest Browse all 5339

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>