Description:
Enables or disables a tab based on the index or object reference passed in.
Syntax:
of_setenabled (long al_index, boolean ab_switch)
of_setenabled (userobject auo_object, boolean ab_switch)
of_setenabled (window aw_object, boolean ab_switch)
Argument |
Description |
al_index |
The index of the tab you want to enable or disable. |
aw_object |
A reference to the window control for the tab you want to enable or disable. |
auo_object |
A reference to the userobject for the tab you want to enable or disable. |
ab_switch |
Pass TRUE to enable a tab or FALSE to disable it. |
Return Value:
Returns 1 if successful or a 0 if the method was unable to enable or disable the tab.
Usage:
See Also:
of_isenabled
Copyright © 2021 Werysoft Inc.