Equinox Online Help - Language Reference - A to Z
ChangeTab |
|
|---|---|
| Applies to | ![]() |
| Syntax | ChangeTab ObjectNameExpression, TabNumberExpression |
| Action | [Statement] Changes the active tab on a tabbed control. |
| Scope | Only usable in form methods. |
| Notes | This statement allows the user to control which tab is currently active on a tabbed control identified by the ObjectNameExpression parameter. This by implication also changes the displayed overlay. The system workarea SysError is set to a non-zero value if an error occurs, otherwise zero. |
| Category | Tabbed controls |
| See Also | ActiveTab, SetTabText, ShowOverlay |
| Example | This line sets the third tab on the 'address' tab control to the active tab when a new record is created. | Place in the Before Insert event. |
