Discuss this page on this page's Talk Page

scrEnableAction

See scrEnableAction at Xelerus

Syntax (scrEnableAction screen number condition) → result
Arguments screen: The screen where you want to enable or disable an action.
number: What number starting from zero at the top of the screen the action you want to work with is.
condition: If Nil disables the action otherwise enables the action.
Returns result: True if successful.
Category screen
Description Enables or disables actions on the screen. A disabled action looks grayed out and can not be selected.

Example

(scrEnableAction gScreen 0 Nil)

Disables the top action on the calling screen.

Return to Functions list