06-03-2015 05:52 AM
Hi friends,
I've a cluster control and a boolean control whose property are changed with respect to mouse events.
Boolean control will display the cluster control when user selects the boolean.
The cluster control has an enum, string and boolean controls. When user changes/selects the value from enum drop down menu event structure takes that as an mouse leave event and hides the cluster.
My issue here is the cluster should not hide itself if user selects values from enum.
06-03-2015 07:37 AM
I'm not entirely sure I understood you correctly: You want the Cluster to display, when the Button is clicked and to disappear when it's "unclicked" i.e. false, correct? Then it seems to me that you are looking for the Value change event and not the mouse enter event.
The mouse enter event will also trigger if the user puts the cursor on the button and then decides not to click it.
Also: If you don't want the Cluster to disappear, why did you create the mouse leave event for it that tells it to do so?
Take a look at the attached VI and please feel free to ask if you have any questions left.
06-03-2015 11:18 AM
This VI is doing exactly what you told it to do. (Isn't that frustrating?) You told it to hide the control when the mouse enters.
06-04-2015 06:35 AM
Hi PeterFoerster,
Your VI gave me a new idea where insted user to have an mouse down event on same control they can have it on pane and we can match the control coordinates to hide them.
Hope I was not clear in my post, i'm accessing an control in enum and when i try to select list from drop down, the cluster containing the enum and other controls hides itself by showing just the drop down list in the enum selected.
Regards,
Ganesh
06-04-2015 08:59 AM
I'm not clear on your last post. Were you able to solve your problem?
06-08-2015 06:08 AM
Hi Billko,
I've made the control as a seperate VI and changed the functional aspects as I required.
The problem solved.
06-08-2015 09:00 AM
Excellent! 🙂