Front Panel Window:Behavior Property
Short Name: FP.Behavior
Installed With: Base Package
Class: VI Properties
Sets the behavior of the front panel window. Valid values include 0 (Invalid), 1 (Default), 2 (Floating), 3 (Floating/Auto-Hide), and 4 (Modal).
If you load the VI in a subpanel control, this property is read only.
This property is similar to the Window Behavior section in the Customize Window Appearance dialog box.
Values
0 | Invalid—If you read this property and an error occurs, the property returns this value. If you set the property to this value, the property returns an error. |
1 | Default—The front panel window is not floating or modal. |
2 | Floating—The front panel window stays on top of all other non-floating LabVIEW windows. |
3 | Floating/Auto-Hide—The front panel window is floating and when you switch from LabVIEW to another application, the window does not appear. |
4 | Modal—The front panel window stays on top of all other LabVIEW windows until you close the window or open another modal window. (Mac OS) The operating system ignores settings for the Close, Minimize, and Maximize window buttons when you select Modal. |
Remarks
The following table lists the characteristics of this property.
Available in Run-Time Engine and Real-Time Operating System | Yes |
Permissions | Read/Write |
Settable when the VI is running | Yes |
Loads the front panel into memory | No |
Need to authenticate before use | No |
Loads the block diagram into memory | No |
Remote access disallowed | No |
Must wait until user interface is idle | Yes |
Available with control VIs | No |
Available with global VIs | No |
Available with strict type definitions | No |
Available with polymorphic VIs | No |