Equinox Online Help - Language Reference - A to Z

Home

ChangeTab

Applies to
SyntaxChangeTab ObjectNameExpression, TabNumberExpression
Action[Statement] Changes the active tab on a tabbed control.
ScopeOnly 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.

CategoryTabbed 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.
ChangeTab "AddressTC", 3