LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

focus event on user panel object

How can I define an "event structure" which reacts after a focus on a panel object ?
0 Kudos
Message 1 of 6
(3,374 Views)
What do you mean by "a focus on a panel object" ?
Chilly Charly    (aka CC)
0 Kudos
Message 2 of 6
(3,374 Views)
Hi,
anb sorry but English is not my cup of tea. I will try to a little better formulate my question : I seek to start events when a zone of text becomes active on the front panel of my VI.
0 Kudos
Message 3 of 6
(3,374 Views)
OK.
You can use an event structure, and configure it to handle events related to your text zone (a string control or indicator). You can use mouse events (down, move, enter...), and decide of the action to be taken.
Put the event structure in your main loop, right click on the border, then "Add event case...", and go to "Controls/your string".
Bonne chance
Keep wiring
Chilly Charly    (aka CC)
0 Kudos
Message 4 of 6
(3,374 Views)
Hello All,

As Charly say, you can use the event structure as described below :
http://zone.ni.com/devzone/learningcenter.nsf/03f7c60f17aad210862567a90054a26c/1dcac8110c5c93df86256c8d0054e158?OpenDocument

You can do more by using dynamic events as described in the presentation below :
http://zone.ni.com/devzone/learningcenter.nsf/03f7c60f17aad210862567a90054a26c/3cbc8abcb38d225386256e20007cad3a?OpenDocument

The link below gives an example of how the use a dynamic events :
http://sine.ni.com/apps/we/niepd_web_display.display_epd4?p_guid=B45EACE3F01D56A4E034080020E74861&p_node=DZ52036&p_source=External#rank

Hope that this help.
Best Regards

Sanaa T
National Instruments
0 Kudos
Message 5 of 6
(3,374 Views)
Thank you for these councils.
I'm beginner in programming, so I will need a little time to understand events management, but your examples correspond well so that I wish to make.
0 Kudos
Message 6 of 6
(3,374 Views)