07-28-2014 08:58 AM - edited 07-28-2014 09:00 AM
Hi All.
I'm having an issue regarding mouse down events that continuing to register altough another control is on top.
As can be seen in 1.vi attached
when I press the control "1" , subvi 2.vi opens, but if i continue to mouse down the control (on the same place) and then closing 2.vi I get that that 2.vo pops up again
It's like the String doesn't cover the 1 and 2 controls.
after pressing 1 or 2 and 2.vi pops I would like to disable further events until I stop 2.vi execution
Modal is not an option for me sue to graphics issues
I have also tried to "cover" 1 and 2 control with boolean but witout success.
Any ideas?
Thank you.
Solved! Go to Solution.
07-28-2014 09:13 AM
Essentially, you shouldn't work with static event registration in this case. Please refer to dynamic event registration/de-registration. You can find an example "Dynamic Event Generation.vi" in the LV Example Finder (2013).
Norbert
07-28-2014 09:16 AM
What is the point of opening another VI when you click into a numeric control? I'm guessing you are opening up a numeric keypad. So why would you not want a Modal window in that case?
07-28-2014 09:41 AM
07-28-2014 09:42 AM
07-28-2014 10:17 AM
@KJmaster wrote:
I can't use modal because when u run a modal window it gets a 3d frame unlike float window who has a flat look.
I'm not seeing this at all. What settings were you using? Can you post a screenshot?
07-28-2014 10:40 AM - edited 07-28-2014 10:40 AM
Here u go. the top one is Modal and the bottom is float
Thanks.
07-28-2014 10:50 AM
07-28-2014 11:04 AM
Personally, I like the border because it reminds me of a real keypad and not a graphic. 🙂
I think it should be possible to start out with the floating and then click on "customize". At this point, you should have it set up like the floating window. Then just set the modal settings they way you want. Having something like a keypad NOT modal is really asking for trouble.
07-28-2014 01:06 PM