Front Panel Window:Behavior

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 Behaviorsection in the Customize Window Appearance dialog box.

Remarks

The following table lists the characteristics of this property.

Short Name FP.Behavior
Data type cenum.png
Permissions Read/Write
Available in Run-Time Engine Yes
Available in Real-Time Operating System No
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 allowed Yes
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
Invalid 0
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.
Default 1
The front panel window is not floating or modal.
Floating 2
The front panel window stays on top of all other non-floating LabVIEW windows.
Floating/Auto-Hide 3
The front panel window is floating and when you switch from LabVIEW to another application, the window does not appear.
Modal 4
The front panel window stays on top of all other LabVIEW windows until you close the window or open another modal window. (Mac OS X) The operating system ignores settings for the Close, Minimize, and Maximize window buttons when you select Modal.