Tab_Change - TabDialog
This is the function that activates a new tab page
Type: Function
Return Data Type: Integer
Parameters
| Parameter | Type | Description |
|---|---|---|
| totab | Integer | The tab page you are moving to |
| PointerMode | Integer | Indicates where the focus should be placed:ConstantMeaning |
Syntax
Function Tab_Change Integer totab Integer PointerMode Returns Integer
Call Example
Get Tab_Change totab PointerMode to IntegerVariable
Description
This is the function that is used to activate a new tab page. It is called as part of a tab-page change. It is passed the new tab page's item item (totab) and a pointer mode (PointerMode) that indicates where the focus should be placed. If returns 0, if the tab change is a success and non-zero of the navigation failed.
This function activates the new page and moves the focus to that page's tab and applies the focus as determined by PointerMode.
You should never send this message but it can be used for augmentation as you can use this to determine the tab page you are moving from Current_Tab and the tab page you are moving to (totab).