FPWinOpen Property

LabView ActiveX Properties and Methods

FPWinOpen Property

Installed With: Base Package

Class: VI Properties (ActiveX)

National Instruments recommends you use the OpenFrontPanel method instead of this property.

Reading this property indicates whether the window currently is open. In certain situations, the value returned by this property might not be accurate. For example, if the window is hidden and you read this property, the property returns a value of TRUE. However, the window is not visible to the user.

Use the OpenFrontPanel method to set the state of the window when you display it. Use the FPState property for more accurate information about the current state of the window. Use the CloseFrontPanel method to close the window.

If you set this property to TRUE, LabVIEW displays the front panel window. If FALSE, LabVIEW closes the window. If no other references to the VI are open, LabVIEW removes the VI from memory. If you set this property to FALSE in a stand-alone application, the application stops.

If you load the VI in a subpanel control, this property is read only and always returns a value of TRUE.

If you set the boundaries of a front panel to be outside the boundaries of the screen, LabVIEW ignores those settings when you open the front panel. LabVIEW displays a portion of the window title bar so you can drag the window to another location on the screen. Use the FPWinPanelBounds property to set the bounds of the front panel window.

Syntax

object.FPWinOpen

Data Type

none