09-17-2010 02:13 PM
Hi All,
I have problem for my Main vi to always lost focus when the called sub vi's tab control changing page programmatically by the code within this sub vi. My sub vi is need to show up at second monitor all time. Is any way to disable the focus of the tab control in sub vi or totally disable sub vi focus or lock focus only at main vi but keep show up on second monitor.
Thanks all. :manhappy:
09-17-2010 02:27 PM
I don't have LV here to try, but I think setting the main VI window appearance to floating will lock the focus on it. It will also stay on top of the other VIs, so you have to decide if this is acceptable for you.
Do you change the tab control by writing to a tab control property node or a local variable?
09-17-2010 09:32 PM
I have tried to set main vi window appearance to floating but the focus still lost when the sub vi changing tab control value by itself. The tab control changing page by writing value to its local variable.
I have tried to change disable property of tab control to 1 but main vi still lost focus.
anyone got solution?
Thanks all.
09-17-2010 11:39 PM
Hi All,
I have found the reason but can not be solved.
The reason :-
Actually the tab control of my sub vi contain activex LED display. My main vi will lost focus or control when changing page everytime. But if I delete the activex LED display from tab control or move the activex LED display away from the tab control then my main vi will remain gain control.
Anyone can give solution to this problem? I awaiting ...![]()
Thanks all