Class PageControl
A tabbed interface object that can hold multiple pages.
Inheritance
| WinControl | PageControl 🡄 WinControl 🡄 Control 🡄 Component 🡄 Object |
Properties
| ActivePage | Contains the currently selected TabSheet. |
| OnChange | Action executed when selected tab changes. |
| OnCloseTabClicked | Not currently available? |
| Page | Table of current TabSheet objects. |
| PageCount | Total number of pages. |
| ShowTabs | Tabs are shown if true, hidden if false. |
| TabIndex | Index of the currently selected tab (beginning at 0). |
| TabOrder | Default: 0 |
| TabPosition | Defines along which edge tabs are located. |
| TabStop | Default: true |
Methods
| addTab () | Creates & returns new TabSheet. |
| getPage () | Not currently available? |
| getPageCount () | Not currently available? |
Creation
| createPageControl ( owner ) | Returns a newly created PageControl. |
Inheritance
- WinControl
- PageControl 🡄 WinControl 🡄 Control 🡄 Component 🡄 Object
Properties
- ActivePage
-
Contains the currently selected TabSheet.
Type:
- OnChange
-
Action executed when selected tab changes.
Type:
function - OnCloseTabClicked
-
Not currently available?
Type:
function - Page
-
Table of current TabSheet objects.
Type:
- PageCount
-
Total number of pages.
Type:
integer - ShowTabs
-
Tabs are shown if
true, hidden iffalse.Default: true
Type:
boolean - TabIndex
-
Index of the currently selected tab (beginning at 0).
Default: 0
Type:
integer - TabOrder
-
Default: 0
Type:
integer - TabPosition
-
Defines along which edge tabs are located.
Options: tpTop (default), tpBottom, tpLeft, tpRight
Type:
- TabStop
-
Default: true
Type:
boolean
Methods
- addTab ()
-
Creates & returns new TabSheet.
Returns:
- getPage ()
- Not currently available?
- getPageCount ()
-
Not currently available?
Returns:
-
integer
Creation
- createPageControl ( owner )
-
Returns a newly created PageControl.
Parameters:
- owner WinControl
Returns: