12-06-2012 01:32 AM
Hi,
I have one main window and a popup window that shows only some description (text). When there is a lot of text in the popup window, then user have to scroll down to see all content. To implement scroll functionality the popup window must be set as active, but that means that the main window is dimmed (borders of the window are dimmed). Is there a way to keep scroll functionality on the popup window, but at the same time not to dim the main window (the main window borders must look like the main window is active)?
Thanks!
12-06-2012 02:12 AM
Can you show us the code that you have tried. I believe you indirectly mean to say that both the windows (main and the pop-up) has to be accessible and you have a way to do that. Create a sub vi and tried to make that as a Pop-up window from the main vi and set the custom appearance in VI properties as Floating and call this vi dynamically from the main vi using the Run VI method.
12-06-2012 02:17 AM
You may use main vi reference in popvi and keep enabling it form its property node.
12-06-2012 02:27 AM
From what I understand, it is the Windows fucntionality. i am not sure if it possible to acheive what you are asking for.
in Windows, when you leave a window open and open another window. the first window borders are dimmed.
12-06-2012 07:14 AM
Attached is an example of what I tried (also P@Anand suggested the same implementation).
Aojha - if I "enable" main vi then I am not able to scroll anymore in popup.
I know it is a Windows functionality, but I still hope it is possible 🙂
12-06-2012 07:19 AM
Please post the code in 2009 version
12-06-2012 07:31 AM
Attached is the LV 2009 version. I don't have LV 2009 anymore so I didn't test it.
12-06-2012 07:46 AM - edited 12-06-2012 07:59 AM
The way you are calling is correct but while implementing the Run VI method its always better to check the state of the vi (Whether the vi can be executed or not) and then run it.
Edit: Make your sub vi property as floating (VI Properties>Appearance>Customize>Floating)
Good luck