LAVA Forums Buy cool LAVA gear Forums RSS Feed

Welcome Guest ( Log In | Register )

Before you submit code to the Code Repository, please make sure you have read the following:
Introduction - Submission Guidelines - Submission Procedure - (post questions here)

  Search Files 

> In-Window Popup

Screenshot
File Information
File Name In-Window Popup by h1voltage
Submitted Jun 26 2007, 06:44 PM
Last Updated Jul 3 2007, 06:28 PM
File Type File Type (zip - application/zip)
Screenshot Click here for full screenshot
Statistics
File Size 259.33K (Estimated Download Times)
Views 2403
Downloads 607
Add Rating
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:
  • Uses a tab control and a cluster with a constant, semi-transparent PNG image to display inline poup box
  • Uses any type and number of controls you place in the tab control
  • Dynamically sizes and recenters to fill up the front panel window
  • Stops execution and removes popup from view when specified controls reaches a desired value
  • Returns the values of all controls on the page being displayed
Planned Future Revisions
  • Selectable color for overlay
  • Popup effects
This is my first submission! Enjoy! biggrin.gif

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.
Other Information
Support Topic Click here to visit support topic
File Version 1.0.2
LabVIEW Version 8.2.x
License Creative Commons Attribution 2.5 License
Operations
Approved by mballa on Jul 3 2007, 05:39 AM
Download File

> 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

Search Files 

Collapse

> Code Repository Statistics

Last ten submissions accepted · Downloads system statistics 
3 user(s) active in the past 15 minutes
Active Users 3 guests, 0 members, 0 anonymous members
Code Repository Statistics
Board Stats 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