Description:
Enables or disables a button.
Syntax:
of_setenabled (long al_item, boolean ab_switch)
Argument |
Description |
al_item |
The index of the button you want to enable or disable. Use one of the following constants: FIRST_RECORD, PREV_RECORD, NEXT_RECORD, LAST_RECORD, INSERT_RECORD, DELETE_RECORD |
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 button.
Usage:
See Also:
Copyright © 2021 Werysoft Inc.