Returns an indicator as to whether or not an item is enabled or not enabled.


of_isEnabled(Long item)
of_isEnabled(String item)


Name Type Description
item Long or String The name or index of button for which the enabled indicator is to be returned. The name of the button is the name the programmer gave when of_addItem was called or when of_setText was last called. The name is the text displayed for a toolbar when display text is enabled. The index of the button is the same as the value returned when of_addItem was called

Return Value

Returns a boolean, TRUE if the item is enabled and FALSE if it is not enabled.


Enable/Disable is achieved by switching the transparency of the picture and/or text of the item between 100% (enabled) and 50% (disabled).


Boolean                  lb_enabled
lb_enabled               = of_isEnabled('Save')

See Also

Last edited Sep 24, 2016 at 3:05 PM by cjharris02892, version 6