Please enable JavaScript to view this site.

ESL Documentation

Attribute Definitions

Define an object or item as selectable or not selectable.

{enabled|disabled}

Description

Selectability is defined within the object or item definition. If you define an object or item and all its ancestors as enabled, and you have defined a response for that object or item in the program, selecting the object or item causes the actions specified in the response definition to be performed.

If you define an object or item as disabled, selecting the object or item does not produce a response, even if you have included a response for that object or item in the program.

An object or item can be selected anywhere in its senseport. The senseport is the smallest rectangular portion of the screen that completely encloses the displayed portion of a selectable object and all of its children, or an item.

A push button, radio button, check box, static text object, entry field, pulldown, button, or choice appears grayed when disabled. The cursor does not appear in a disabled entry field.

A separator cannot be enabled.

In a windowed application, all objects default to enabled. In a fullscreen application, all regions default to disabled.

All items, except for the separator, default to enabled.

Example

 

enabled textual region Blackboard_TR

 window size 30 columns 50 lines

 at position 100 100

 disabled key ReturnToMenu_Key

 at position 10 10

See Also

enable and disable Action Statement

selectability of Object Inquiry Built-in Function