01-07-2009 01:35 PM
Hi All,
I have one modal dialog, A.vi, and it dynamically controls (launch, abort) another dialog vi, B.vi, which needs to display on top of A.vi. So I made B.vi also modal. The problem is then I lost contorl of A.vi. If B.vi is not modal, it won't be on top of A.vi.
How to do this? Thank for any help.
Anne
01-07-2009 01:38 PM
Hi Anne,
i have a small question. If B should be on top of A, why do you need to control A? Would it be a solution for you if B is not modal, but on top of A? If yes then you can make B frontmost after showing it.
Hope it helps.
Mike
01-07-2009 01:52 PM
I need to abort B.vi by A.vi, so I still need the control from A.vi
I tried to set B to non modal and make it FP frontmost, and it doesn't work. Its FP still under A, maybe because A is modal. 😞
Thanks.
Anne
01-07-2009 02:09 PM
Hi Anne,
maybe it helps if both vi's are floating.
Mike
01-07-2009 02:19 PM
It works if both are floating, but NOT acceptable to customer, since there is another vi, C.vi, launch A. If A is floating and the user clicks C on touch screen,
he won't be able to get A FP back on touch screen. A.vi really needs to be modal.
Anne
01-07-2009 02:47 PM
Hi Mike,
My problem is reasonably solved, though still not perfect, by changing vis FP behavior between modal or default back and forth.
Thanks a lot for your reply. Have a nice day.
Anne