Front Panel Window:Behavior Property

Short Name: FP.Behavior

Requires: Base Development System

Class: VI Properties

To Use: Create a property.

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.

Values

0Invalid—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.
1Default—The front panel window is not floating or modal.
2Floating—The front panel window stays on top of all other non-floating LabVIEW windows.
3Floating/Auto-Hide—The front panel window is floating and when you switch from LabVIEW to another application, the window does not appear.
4Modal—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.

Remarks

The following table lists the characteristics of this property.

Data type
PermissionsRead/Write
Available in Run-Time EngineYes
Available in Real-Time Operating SystemNo
Settable when the VI is runningYes
Loads the front panel into memoryNo
Need to authenticate before useNo
Loads the block diagram into memoryNo
Remote access allowedYes
Must wait until user interface is idleYes
Available with control VIsNo
Available with global VIsNo
Available with strict type definitionsNo
Available with polymorphic VIsNo