Download A. LabVIEW
Transcript
Lesson 11 Customizing VIs Window Appearance In the VI Properties dialog box, select Window Appearance from the Category pull down menu to customize the window appearance for VIs. These options apply to the VI when it is running. Use these options to change how the user interacts with the application by restricting access to LabVIEW features and by changing the way the window looks and behaves. You can make the VI look and act like a dialog box so the user cannot interact with other windows while the VI window is open. You also can remove the scrollbars and toolbar, and you can set a window to be centered or automatically sized to fit the screen. By default, the VI window title is the same as the VI name. You can customize the VI window title to make it more descriptive than the VI filename. This is useful for localized VIs so the VI window title can be translated to the local language. Remove the checkmark from the Same as VI Name checkbox to edit Window title. To configure the window appearance, select one of the following window styles. A graphical representation of each style displays on the right when you select the style. • Top-level Application Window—Shows the title bar and menu bar, hides the scrollbars and toolbar, allows the user to close the window, allows run-time shortcut menus, does not allow resizing, and shows the front panel when called. • Dialog—The VI functions as a dialog box in the operating system, so the user cannot interact with other LabVIEW windows while this VI window is open. This option does not prevent you from bringing windows of other applications to the front. (UNIX) You cannot make a window stay in front of all other windows. Dialog style windows stay on top, have no menu bar, scrollbars, or toolbar, allow the user to close the window but not resize it, allow run-time shortcut menus, and show the front panel when called. Also, if a Boolean parameter on the front panel is associated with the <Enter> or <Return> key, LabVIEW highlights the parameter with a dark border. • Default—Same window style used in the LabVIEW development environment. • Custom—Custom window style. • Customize—Displays the Customize Window Appearance dialog box. © National Instruments Corporation 11-3 LabVIEW Introduction Course Manual