Jump to content

Panel class

From LabVIEW Wiki
Revision as of 00:22, 2 September 2019 by Q (talk | contribs) (Started page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
VI Server Class Information
Return to VI Server Class Hierarchy
Class Name Panel class
Class ID 31
Scope Basic Development Environment
Class Inheritance
Class Children

This class has no children.


The Panel class is a class in the VI Server Class Hierarchy, (see also VI Server).

Properties

Show/Hide Panel Properties Table

Legend
R/WReadable/Writable Permissions
RTEAvailable in the Run-Time Engine
Basic Development Environment
VI Scripting
Private
Deprecated
Panel Properties Table
Property ID Short Name (English) Description R/W RTE
6348803 AllObjs() Array of references to all the objects (controls and decorations) on the front panel. R X
6348801 Controls() Array of references to the controls and indicators on the front panel. The array contains the references in tabbing order.

To view or change the tabbing order of controls and indicators, select Edit»Set Tabbing Order.

Use the To More Generic Class and To More Specific Class functions to cast these references to a class other than the Control class.

R X
6348802 Decos() Array of references to the decorations on the front panel. R X
6348805 DeferPanUpdts When you set this property to TRUE, LabVIEW redraws any front panel objects with pending changes then defers all new requests for front panel updates. For example, controls and indicators do not redraw when you change their properties or values. If the operating system requests a redraw, such as if the window is no longer behind another window, LabVIEW redraws the front panel with the current properties instead of the original properties. If FALSE, LabVIEW immediately redraws the changed elements of the front panel.

Setting this property to TRUE can improve the execution speed and memory usage of a VI.

Note This property remains on after the VI finishes. Set this property to turn off before the VI finishes or the front panel cannot update with edits. Do not abort VIs that rely on this property to turn it off.

R/W X
6348809 Menu Vis R/W X
6348806 Panes() Returns an array of references to each pane in the pane hierarchy on the panel. You can use this property with the Front Panel property to obtain a reference to a pane in another VI. R X
6348804 SelList() Array of references to the selected objects on the front panel. R X
6348807 Splitters() Returns an array of references to each splitter bar in the splitter hierarchy on the panel. R X
6348808 Focus R X

Methods

Show/Hide Panel Methods Table

Legend
RTEAvailable in the Run-Time Engine
Basic Development Environment
VI Scripting
Private
Deprecated
Panel Methods Table
Method ID Short Name (English) Description RTE
6348412 AlignSelection Aligns selected objects.
6348402 Clear Selection Clears the selection list.
634840F CvtPanelToScreenCoords Converts front panel coordinates to screen coordinates. X
6348410 CvtScreenToPanelCoords Converts screen coordinates to front panel coordinates. X
6348405 Copy Selection Copies objects you select into clipboard.
6348411 DistributeSelection Distributes selected objects.
6348403 Make Selection Selects the front panel objects you specify in Objects and deselects all other front panel objects.
634840E MoveSelectionBackward Moves the selected object(s) one step backward in the z-plane order.
634840D MoveSelectionForward Moves the selected object(s) one step forward in the z-plane order.
634840C MoveSelectionToBack Converts the coordinates of a point on the screen to front panel window coordinates.
634840B MoveSelectionToFront Converts the coordinates of a point on the front panel window to screen coordinates.
6348404 Select All Selects all objects in the panel.
6348400 Set Panel Order Specifies the order of controls in the panel. X

Events

No Events for this class.

History

Version Change(s)
LabVIEW 2018 More info to come.

See Also