[index]
Enable Property
Syntax
set the enable of <object> to <boolean>
Applies to buttons, datasheets, fields, picklists
Description
The enable property determines whether an object is selectable by a user (or, in other words, whether the object responds to a mouse click). If enable is set to false, the object's text and icon are dimmed and no mouse-related messages are sent. If enable is set to true (the default), the object appears and responds normally.
Examples
The following button script enables all currently disabled buttons on the button's card:
on mouseUp
get the enable of button i if it is false then
set the enable of button i to true end if
end repeat
This text has been mechanically extracted from the Oracle Media Objects 1.0.4.9 MediaTalk Reference, © 1995 Oracle Corporation, and is provided here solely for educational/historical purposes.