Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Plant SCADA

Page Tabs Library Control

  • Last UpdatedMar 11, 2025
  • 3 minute read

Page Tabs genie has the following parameters.

Note: The Page Tabs genie is specifically designed for displaying page data. The genie internally binds page data to the tab display. You should not add tabs directly. Manipulating the tab data using the LibTabs Cicode function may result in unexpected behavior.

Parameter

Description

Page Tabs Name

Name of page tabs control (max characters 254). Used to identify the genie when on a graphics page.

Width

Pixel width of the tabs control at runtime.

Note: Leave the size of the genie at design time as 100 pixels, as it will be automatically calculated at runtime.

Tab Height

Pixel height of the tabs control at runtime.

Vertical Padding

The vertical distance (in pixels) between the tab elements and the bottom of the tabs control.

Tab Padding

The horizontal distance (in pixels) between the edges and elements of a tab

Tab Min Width

The minimum width allowed for a tab

Tab Max Width

The maximum width allowed for a tab

Auto Width

True/False drop down box. False is selected by default. Determines whether the column width will be automatically adjusted to show full cell content when the control is redrawn.

Icon Add Padding

Additional vertical padding for the display of icon relative to the text. Positive padding will move the icon further upward, and vice versa.

Refresh Rate

The minimum (quickest possible) rate that the control will be redrawn.

The control is only redrawn as required upon changes to the layout, scrolling or other user initiated events.

Scan Delay (optional)

The number of page scan delay before the genie is initialized at runtime. this can be set to different number on different control genies to stagger the initialization order. If not set defaults to 1

Page Type

The type of page data to be displayed in the tabs:
PageList
GenericMenu
PageMenu
WindowMenu

Menu (Page) Name

Name of page with menu items to display. this is only applicable when Page type is set to "PageMenu"

Default Font

The pre-configured font for tab text.

Selection Font

The pre-configured font for a tab when it is selected.

Tab Line Style

The display style of the separator between tabs, options are:
Dark
Light
None

Tab Select Style

The display style for highlighting of selected tab:
Dark
Light
None

Allow Drag Sort

Indicates whether to allow individual tabs to be repositioned by drag and drop.

Allow Drag Delete

Indicates whether to allow individual tabs to be deleted by dragging it vertically away from the tabs control.

Tab Select Icon

The icon to be displayed when a tab is selected. An icon needs to be pre-configured as a symbol in your project. It is specified by the syntax of <symbol library>.<symbol>.

Initialize (optional)

Callback function that is called when the control initializes The callback function should return either TRUE (1) for success or FALSE (0) if unsuccessful. By default, if the user specified function does not initialize, the control genie will retry the function a few times before giving up. This callback only supports the #Name keyword which represents the name assigned to the control genie.

Note: The initialization callback function may be called multiple times whenever the tab is re-initialized.

Right Mouse (optional)

Callback function that is called when the user clicks the right mouse button No particular return value is expected from this function, and it supports the following keywords in its argument list:

#Name = name assigned to the genie

#Ref = reference (assigned when tab is added) of the cell that is clicked

#TabDsp = tab number of the cell relative to the display that is clicked

#Icon =Icon number indicating the different areas with a tab is clicked:
<=0 - text on tab is clicked
1- icon to left hand side of text is clicked
2- icon to right hand side of text is clicked
3- selection icon (only shows up when a tab selected) is clicked

Double Click (Optional)

Callback function that is called when the user double-click the left mouse button. It uses the same specification as that of the Left mouse callback.

Tabs Reload (optional)

Callback function that is called when the control is redrawn. No particular return value is expected from this function, and it supports the following keywords in its argument list:

#Name = name assigned to the genie

Note: The maximum number of tabs displayed on screen is limited to 50. The maximum number of tab separators displayed on screen is up to 25. These limits are not specified at design time via the genie form. They are applied as the user adds tabs to the control at runtime.

See Also

Use the Library Controls

TitleResults for “How to create a CRG?”Also Available in