|
|
| (3 intermediate revisions by the same user not shown) |
| Line 7: |
Line 7: |
| {{TOCright}} | | {{TOCright}} |
|
| |
|
| ==Properties==
| | <!--Edit Properties, Methods, or Events in the appropriate table in one on the VI Server Templates--> |
| <span class="mw-customtoggle-propertiestable">Show/Hide Page Properties Table</span> | | {{VIServerClassTables|54}} |
| <div class="mw-collapsible" id="mw-customcollapsible-propertiestable">
| |
| {{VIServerLegend|showrw=TRUE|showrte=TRUE}}
| |
| {| class="wikitable sortable"
| |
| |+ Page Properties Table
| |
| ! Property ID
| |
| ! Short Name (English)
| |
| ! Description
| |
| ! R/W
| |
| ! RTE
| |
| |- style="background-color:#FFFFCC;"
| |
| |18044C0A
| |
| | [[Page class/Colors property|Colors]]
| |
| |Gets or sets the foreground and background colors of a tab control page.
| |
| | |
| You can set the color of the front panel object by wiring a hexadecimal number with the form RRGGBB or by wiring the color box constant to the property.
| |
| | |
| To set the colors, you must set the Allow Multiple Colors property to TRUE or right-click the tabs of the tab control and select <b>Advanced»Allow Multiple Colors</b> from the shortcut menu.
| |
| |R/W
| |
| |X
| |
| |- style="background-color:#FFFFCC;"
| |
| |18044C0C
| |
| | [[Page class/BGColor property|BGColor]]
| |
| |Gets or sets the background color of the tab control page.
| |
| | |
| You can set the color of the front panel object by wiring a hexadecimal number with the form RRGGBB or by wiring the color box constant to the property.
| |
| | |
| This property is an element of the Colors property.
| |
| |R/W
| |
| |X
| |
| |- style="background-color:#FFFFCC;"
| |
| |18044C0B
| |
| | [[Page class/FGColor property|FGColor]]
| |
| |Gets or sets the foreground color of the tab control page.
| |
| | |
| You can set the color of the front panel object by wiring a hexadecimal number with the form RRGGBB or by wiring the color box constant to the property.
| |
| | |
| This property is an element of the Colors property.
| |
| |R/W
| |
| |X
| |
| |- style="background-color:#FFFFCC;"
| |
| |18044C02
| |
| | [[Page class/CtlsOnPage property|CtlsOnPage]]
| |
| |Returns an array of references to the controls and indicators on a page. The order in which you place the objects on the page determines the index of the object in the array. For example, if the first object you place on the page is a numeric control, the index of the numeric control in the array returned by this property is 0.
| |
| |R
| |
| |X
| |
| |- style="background-color:#FFFFCC;"
| |
| |18044C03
| |
| | [[Page class/DecosOnPage property|DecosOnPage]]
| |
| |Gets an array of references to all decorations on a tab control page.
| |
| |R
| |
| |X
| |
| |- style="background-color:#FFFFCC;"
| |
| |18044C07
| |
| | [[Page class/Desc property|Desc]]
| |
| |Gets or sets the description of a tab control page.
| |
| | |
| This property is similar to the <b>Description and Tip</b> item on the shortcut menu of a page on a tab control.
| |
| | |
| If you set the description, it appears in the Context Help window for that page and in any custom documentation you generate for the VI. You can format the text in the description to appear bold in the Context Help window.
| |
| |R/W
| |
| |X
| |
| |- style="background-color:#FFFFCC;"
| |
| |18044C09
| |
| | [[Page class/IndependentLabel property|IndependentLabel]]
| |
| |Makes the tab control page caption independent of the page label.
| |
| | |
| After you set this property to TRUE, you can use the Tab Caption property to change the page caption.
| |
| |R/W
| |
| |X
| |
| |- style="background-color:#FFFFCC;"
| |
| |18044C04
| |
| | [[Page class/ObjectsOnPage property|ObjectsOnPage]]
| |
| |Gets an array of references to all controls, indicators, and decorations on a page.
| |
| |R
| |
| |X
| |
| |- style="background-color:#FFFFCC;"
| |
| |18044C00
| |
| | [[Page class/PageEnb property|PageEnb]]
| |
| |Gets or sets the state of a tab control page.
| |
| | |
| This property is similar to the <b>Advanced»</b>Page Enabled State item on the shortcut menu of a tab control.
| |
| |R/W
| |
| |X
| |
| |- style="background-color:#FFFFCC;"
| |
| |18044C06
| |
| | [[Page class/PageLabel property|PageLabel]]
| |
| |Gets the label of a tab control page.
| |
| | |
| Page labels correspond to the values of the enumerated type control on the block diagram.
| |
| |R/W
| |
| |X
| |
| |- style="background-color:#FFFFCC;"
| |
| |18044C01
| |
| | [[Page class/PageVis property|PageVis]]
| |
| |Shows or hides individual pages of a tab control.
| |
| | |
| If you hide the default page, the next page becomes the default page. If the only visible page is the default page, you cannot hide the default page.
| |
| | |
| This property is similar to the Hide Page and Show Hidden Pages items on the shortcut menu of a tab control.
| |
| |R/W
| |
| |X
| |
| |- style="background-color:#FFFFCC;"
| |
| |18044C05
| |
| | [[Page class/TabCaption property|TabCaption]]
| |
| |Gets or sets the text of a caption on a tab control page.
| |
| | |
| To set the caption, you must set the Independent Label property to TRUE or right-click the tabs of the tab control and remove the checkmark next to <b>Advanced»Make Page Caption Match Label</b> on the shortcut menu.
| |
| |R/W
| |
| |X
| |
| |- style="background-color:#FFFFCC;"
| |
| |18044C08
| |
| | [[Page class/TipStrip property|TipStrip]]
| |
| |Gets or sets the tip strip of a tab control page. A tip strip is the brief description of the object that appears when you move the cursor over the object.
| |
| | |
| Other products refer to tip strips as tooltips.
| |
| |R/W
| |
| |X
| |
| |}
| |
| </div>
| |
| | |
| ==Methods==
| |
| <span class="mw-customtoggle-methodstable">Show/Hide Page Methods Table</span>
| |
| <div class="mw-collapsible" id="mw-customcollapsible-methodstable">
| |
| {{VIServerLegend|showrte=TRUE}} | |
| {| class="wikitable sortable"
| |
| |+ Page Methods Table
| |
| ! Method ID
| |
| ! Short Name (English)
| |
| ! Description
| |
| ! RTE
| |
| |- style="background-color:#FFFFCC;"
| |
| |18044801
| |
| | [[Page class/Import Image method|Import Image]]
| |
| |Imports the image from the clipboard to the page.
| |
| |X
| |
| |- style="background-color:#FFFFCC;"
| |
| |18044802
| |
| | [[Page class/Remove Image method|Remove Image]]
| |
| |Removes the image from the page.
| |
| |X
| |
| |- style="background-color:#CCFFFF;"
| |
| |18044800
| |
| | [[Page class/Reorder Controls method|Reorder Controls]]
| |
| |Reorders the controls on the page according to the order of the input array of control references.
| |
| |X
| |
| |}
| |
| </div>
| |
| | |
| ==Events==
| |
| ''No Events for this class.''
| |
|
| |
|
| == History == | | == History == |
| {{ambox|text=History information is needed. What changes have occured over previous versions?}} | | {{ambox|text=History information is needed. What changes have occurred over previous versions?}} |
| {| class="wikitable" | | {| class="wikitable" |
| ! Version | | ! Version |
| Line 175: |
Line 25: |
| *[[VI Scripting]] | | *[[VI Scripting]] |
|
| |
|
| [[Category:VI Server]]
| | |
| [[Category:VI Server Class]] | | [[Category:VI Server Class]] |
| [[Category:VI Scripting]]
| |
The Page class is a class in the VI Server Class Hierarchy, (see also VI Server).
Properties
Show/Hide Page Properties Table
Page Properties Table
| Property ID
|
Long Name (English)
|
Description
|
R/W
|
RTE
|
| 18044C00 | Page Enabled State | Gets or sets the state of a tab control page. | Read/Write | Yes |
| 18044C01 | Page Visible | Shows or hides individual pages of a tab control. | Read/Write | Yes |
| 18044C02 | Controls on Page[] | Returns an array of references to the controls and indicators on a page. The order in which you place the objects on the page determines the index of the object in the array. For example, if the first object you place on the page is a numeric control, the index of the numeric control in the array returned by this property is 0. | Read Only | Yes (Read Only) |
| 18044C03 | Decorations on Page[] | Gets an array of references to all decorations on a tab control page. | Read Only | Yes (Read Only) |
| 18044C04 | Objects on Page[] | Gets an array of references to all controls, indicators, and decorations on a page. | Read Only | Yes (Read Only) |
| 18044C05 | Tab Caption | Gets or sets the text of a caption on a tab control page. | Read/Write | Yes |
| 18044C06 | Page Label | Gets the label of a tab control page. | Read/Write | Yes (Read Only) |
| 18044C07 | Description | Gets or sets the description of a tab control page. | Read/Write | Yes |
| 18044C08 | Tip Strip | Gets or sets the tip strip of a tab control page. A tip strip is the brief description of the object that appears when you move the cursor over the object. | Read/Write | Yes |
| 18044C09 | Independent Label | Makes the tab control page caption independent of the page label. | Read/Write | Yes |
| 18044C0A | Colors | Gets or sets the foreground and background colors of a tab control page. | Read/Write | Yes |
| 18044C0B | Colors:FG Color | Gets or sets the foreground color of the tab control page. | Read/Write | Yes |
| 18044C0C | Colors:BG Color | Gets or sets the background color of the tab control page. | Read/Write | Yes |
Methods
Show/Hide Page Properties Table
Page Methods Table
| Method ID
|
Long Name (English)
|
Description
|
RTE
|
| 18044800 | Reorder Controls | Reorders the controls on the page according to the order of the input array of control references. | Yes (Read/Write) |
| 18044801 | Import Image | Imports the image from the clipboard to the page. | Yes (Read/Write) |
| 18044802 | Remove Image | Removes the image from the page. | Yes (Read/Write) |
Events
This class has no events or it inherits events from its parent: Generic Class.
History
| Version
|
Change(s)
|
|
More info to come.
|
See Also