In-Window Popup
Before you submit code to the Code Repository, please make sure you have read the following:
Introduction - Submission Guidelines - Submission Procedure - (post questions here)
|
In-Window Popup
|
|
|||||||||||||||||||||||
|
|
||||||||||||||||||||||
In-Window Popup The inspiration for this VI came from a popular web javascript image viewer that darkens the background and popups a box in the current browswer window. This is also a great concept for a user interface that forces the user's attention onto what you want them to see. Summary & Features:
Instructions: 1. Put these two controls anywhere on the FP of the VI you will use them in. Both the tab control and the overlay are automatically sized to fit and centered within the FP window bounds. 2. Rename the controls to whatever you would like. The default names are "Popup" for the tab control and "Overlay" for the overlay cluster. Don't forget to hide the labels on these controls and to hide the tabs on tab control. 3. Add pages to the tab control and add your own controls inside each page. You can place as many as you need. 4. To use popup, call this VI. Wire in the references to the tab control and overlay cluster. Selectively show which tab you want the user to see with the "Tab to Show" string control. Use the controls on the tab control as normal. 5. You can handle control value changes either with a event structure or let this VI stop executing when a control reaches a certain value. For the latter, wire "Control to Wait For" cluster witht he reference of the control you are waiting for and the desired value. This VI uses an event structure with a 50ms timeout to wait for the control value change and then returns an array of all controls on the page specified in "Page to Show." 6. If you do not wire "Control to Wait For" cluster, you must use the "In-Window Popup Destroy.vi" to remove the popup. |
|||||||||||||||||||||||
|
|
||||||||||||||||||||||
| Approved by mballa on Jul 3 2007, 05:39 AM | |||||||||||||||||||||||
Saved Versions
| Name | Filename | Updated | Operations |
|---|---|---|---|
| In-Window Popup | In_Window_Popup_1.0.1.zip | 3rd July 2007 - 01:11 PM | |
| In-Window Popup | In_Window_Popup_1.0.0.zip | 26th June 2007 - 06:44 PM |
|
Code Repository Statistics
| Last ten submissions accepted · Downloads system statistics | |
| 3 user(s) active in the past 15 minutes | |
![]() |
3 guests, 0 members, 0 anonymous members |
| Code Repository Statistics | |
![]() |
We have a total of 74 files in 13 categories A total of 40 unique authors have submitted to our site There have been 28712 logged downloads to date The latest file submitted was Skype SDK by Antoine Châlons (submitted Dec 24 2008, 09:44 AM) |
| Time is now: 6th January 2009 - 07:14 AM |