Skip to main content
Version: Next

OBJECT Get enabled

OBJECT Get enabled ( {* ;} object ) -> Function result

ParameterTypeDescription
*Operator🡒If specified, object is an object name (string)
If omitted, object is a variable
objectForm object🡒Object name (if * is specified) or
Variable (if * is omitted)
Function resultBoolean🡐True = object(s) enabled; Otherwise, false

Description

The OBJECT Get enabled command returns True if the object or group of objects designated by object is enabled in the form and False if it is not enabled.

An enabled object reacts to mouse clicks and to keyboard shortcuts.

If you pass the optional * parameter, you indicate that the object parameter is an object name (string). If you do not pass this parameter, you indicate that the object parameter is a variable. In this case, you pass a variable reference (object variable only) instead of a string.

This command can be applied to the following types of objects:

  • Button, Default button, 3D button, Invisible button, Highlight button
  • Radio button, 3D radio button, Picture button
  • Check Box, 3D Check Box
  • Pop-up menu, Drop-down List, Combo Box, Menu/Drop-down List
  • Thermometer, Ruler

See also

OBJECT SET ENABLED