4D v13.4ENABLE BUTTON |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v13.4
ENABLE BUTTON
ENABLE BUTTON
The ENABLE BUTTON command is declared obsolete in 4D beginning with version 12 and is kept only for compatibility reasons. Its overall scope, which includes all instances of the designated variable and not only those of the current form, does not correspond to those of the "Object Properties" command theme. The ENABLE BUTTON command enables the form objects specified by object. An enabled button or object reacts to mouse clicks and shortcuts. If you specify the optional * parameter, you indicate an object name (a string) in object. If you omit the optional * parameter, you indicate a field or a variable in object. In this case, you specify a field or variable reference (field or variable objects only) instead of a string. For more information about object names, see the section Object Properties. This command (despite what its name suggests) can be applied to the following types of object:
Note: This command has no effect with an object that is assigned an automatic action (4D changes the state of the control when needed), except for Validate and Cancel actions. This example enables the button bValidate:
ENABLE BUTTON(bValidate) This example enables all form objects that have names containing “btn”:
ENABLE BUTTON(*;"@btn@") See example for the command OBJECT SET TITLE. |
PROPERTIES
Product: 4D
INDEX HISTORY
Modified: 4D 2004.1 SEE ALSO
DISABLE BUTTON |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||