Equinox Online Help - Language Reference - A to Z
SetTabText |
|
---|---|
Applies to | |
Syntax | SetTabText TabName, TabNumber, TabText |
Action | [Statement] Sets text on a tab of a tabbed control at runtime. |
Scope | Only usable in form methods. |
Notes | This statement replaces the text that appears on the tabs of a form tabbed control. You can replace one tab caption at-a-time. TabName is the value of the Name property of the tabbed control, TabNumber is an integer in the range [1 to 8] corresponding to the eight possible labels (properties Text 1 to Text 8). TabText is the text that you want to assign to the specified tab. Changes made using this statement remain in effect until either the form is closed, or another SetTabText statement is executed for the same tab of the same tabbed control. |
Category | Tabbed controls |
See Also | ChangeTab, ActiveTab, ShowOverlay |
Example | This example replaces the eight existing labels of a tabbed control called "Prizes", using cardinal numbers that correspond to each of the tabs. number i |