设置前面板窗口的动作。有效值为0 (Invalid)、1 (Default)、2 (Floating)、3 (Floating/Auto-Hide)和4 (Modal)。

在子面板控件中加载VI,该属性为只读。

该属性的作用类似于自定义窗口外观对话框的窗口动作部分。

注释

下表列出了该属性的特性

短名称 FP.Behavior
数据类型 cenum.png
权限 读取/写入
可用于运行引擎
可用于实时操作系统
可在VI运行时设置
加载前面板至内存
使用前必须授权
加载程序框图至内存
允许远程访问
必须等待直到用户界面空闲
可用于控件VI
可用于全局VI
可用于严格自定义类型
可用于多态VI
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 关闭, 最小化, and 最大化 window buttons when you select 模态.