Front Panel Window:Behavior Property

LabView Local Project Settings

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

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) 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 SystemYes
PermissionsRead/Write
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 disallowedNo
Must wait until user interface is idleYes
Available with control VIsNo
Available with global VIsNo
Available with strict type definitionsNo
Available with polymorphic VIsNo