Pane class: Difference between revisions
Started page |
(No difference)
|
Revision as of 00:21, 2 September 2019
| VI Server Class Information | |
|---|---|
| Return to VI Server Class Hierarchy | |
| Class Name | Pane class |
| Class ID | 75 |
| Scope | Basic Development Environment |
| Class Inheritance |
|
| Class Children | This class has no children. |
| |
This article is a stub. You can help LabVIEW Wiki by expanding it. Please improve this article if you can. |
The Pane class is a class in the VI Server Class Hierarchy, (see also VI Server).
Properties
Show/Hide Pane Properties Table
| Legend | |
|---|---|
| R/W | Readable/Writable Permissions |
| RTE | Available in the Run-Time Engine |
| Basic Development Environment | |
| VI Scripting | |
| Private | |
| Deprecated | |
| Property ID | Short Name (English) | Description | R/W | RTE | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 18166803 | AllObjs() | Array of references to all the objects (controls and decorations) on the pane. | R | X | ||||||||||||||
| 1816680B | BackgroundImage | Sets the background image the pane uses. LabVIEW supports BMP, JPEG, and PNG graphic formats for background images.
This property is similar to the Browse option on the Appearance page of the Pane Properties dialog box. If you want to use a picture to set the image, use the Picture to Pixmap VI to convert the data to an image data cluster before using this method. To use a file to set the image, use the Read JPEG File, Read PNG File, or Read BMP File VIs to convert the data to an image data cluster before using this method.
|
R/W | X | ||||||||||||||
| 1816680A | BackgroundMode | Sets the positioning of the background image in the pane.
This property is similar to the Position option on the Appearance page of the Pane Properties dialog box. |
R/W | X | ||||||||||||||
| 18166808 | ContentRect | Returns the bounding rectangle of the content area of the pane in the coordinate system of the pane.
|
R | X | ||||||||||||||
| 18166801 | Controls() | Array of references to the controls and indicators on the pane.
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 | ||||||||||||||
| 18166802 | Decorations() | Array of references to the decorations in the pane. | R | X | ||||||||||||||
| 18166806 | HorizScrollbarVisibility | Gets or sets the horizontal scroll bar visibility of the pane.
If Always On, the pane displays the horizontal scroll bar at all times. If Always Off, the pane does not display the horizontal scroll bar at any time. If Off While Running, the pane displays the horizontal scroll bar at edit time and hides it at run time. This property is similar to selecting Horizontal Scrollbar from the shortcut menu. |
R/W | X | ||||||||||||||
| 18166809 | Label | Reference to the label object. | R | X | ||||||||||||||
| 18166804 | MinPaneSize | If the pane is sizable, this property determines the minimum size to which a pane can be reduced. Setting this property can cause the pane or window to grow if its current size is less than the minimum size.
|
R/W | X | ||||||||||||||
| 18166805 | Origin | A cluster that contains the vertical and horizontal coordinates of the upper left corner of the pane. The coordinates are relative to the coordinate system of the pane.
To convert to panel coordinates, use the Convert Pane To Panel Coordinates method. As the scrollbars on the front panel move, this property returns new coordinates. You can use this property to scroll the pane by setting the origin.
|
R/W | X | ||||||||||||||
| 18166800 | Color | Background color of the pane.
You can set the color of the pane by wiring an numeric constant with the representation of U32 with the form RRGGBB or the color box constant to the property. This property is similar to using the color picker to specify the color of the pane. |
R/W | X | ||||||||||||||
| 1816680C | ScrlToOrigAtRunTi | R/W | X | |||||||||||||||
| 18166807 | VertScrollbarVisibility | Gets or sets the vertical scroll bar visibility of the pane.
If Always On, the pane displays the vertical scroll bar at all times. If Always Off, the pane does not display the vertical scroll bar at any time. If Off While Running, the pane displays the vertical scroll bar at edit time and hides it at run time. This property is similar to selecting Vertical Scrollbar from the shortcut menu. |
R/W | X |
Methods
Show/Hide Pane Methods Table
| Legend | |
|---|---|
| RTE | Available in the Run-Time Engine |
| Basic Development Environment | |
| VI Scripting | |
| Private | |
| Deprecated | |
| Method ID | Short Name (English) | Description | RTE |
|---|---|---|---|
| 64AFA40A | CvtPaneToPanelCoords | Converts the input point from the local pane coordinates to the coordinates of the front panel as the output point.
The pane coordinates are relative to the pane origin. The front panel coordinates are relative to the top left of the window. You can use this method to compare the position of two objects on different panes. Before the conversion, the object coordinates are relative to different origins, but after the conversion, the converted coordinates are all relative to the same position on the front panel. |
X |
| 64AFA40B | CvtPanelToPaneCoords | Converts the input point from the front panel coordinates to the coordinates of the local pane as the output point.
The front panel coordinates are relative to the top left of the window. The pane coordinates are relative to the pane origin. |
X |
| 64AFA409 | Get Scaling | Gets the scaling mode for the pane.
If you select Scale Single Object, Scalable Object returns a reference to the front panel control or indicator that is set to scale. In the other cases, Scalable Object returns Not a Refnum. |
X |
| 64AFA404 | Group Objects | Groups pane objects together. If the Objects parameter is not wired, the method groups the currently selected objects. All objects must be in the same pane or an error is returned. After this method executes, the panel selection list contains the grouped objects. | |
| 64AFA405 | Lock Objects | Locks pane objects. If the Objects parameter is not wired, currently selected objects are locked. After this method executes, the panel selection list contains the locked objects. | |
| 64AFA400 | MakeSpace | Makes space in the pane by moving objects out of a location in a specified direction. | |
| 64AFA403 | Paste Selection | Pastes the contents of the clipboard at the specified coordinates in the pane. If the pane is unwired then the default pane is the top left pane. | |
| 64AFA402 | Select All | Selects all objects in the pane. | |
| 64AFA408 | Set Scaling | Sets the scaling mode for objects within the pane.
If you select Scale Single Object, you must wire a valid reference to a front panel control or indicator that the pane owns to Scalable Object. Otherwise, LabVIEW returns an error. |
X |
| 64AFA406 | Ungroup Objects | Ungroups pane objects. If the Objects parameter is not wired, currently selected objects are ungrouped. | |
| 64AFA407 | Unlock Objects | Unlocks objects. If the Objects parameter is not wired, currently selected objects are unlocked. You can select or wire-in multiple locked objects to unlock them. |
Events
Show/Hide Pane Events Table
| Legend | |
|---|---|
| Basic Development Environment | |
| VI Scripting | |
| Private | |
| Deprecated |
| Code | Name | Type |
|---|---|---|
| 1073741842 | Mouse Down | Notify |
| 2147483655 | Mouse Down? | Filter |
| 1073741839 | Mouse Enter | Notify |
| 1073741838 | Mouse Leave | Notify |
| 1073741833 | Mouse Move | Notify |
| 1073741832 | Mouse Up | Notify |
| 1073741905 | Mouse Wheel | Notify |
| 1073741884 | Pane Size | Notify |
| 2147483699 | Shortcut Menu Activation? | Filter |
| 1073741876 | Shortcut Menu Selection (User) | Notify |
History
| |
History information is needed. What changes have occurred over previous versions? |
| Version | Change(s) |
|---|---|
| More info to come. |