VALID-EVENT function

Verifies whether a specified event is valid for a specified widget. For each type of widget, only certain events are valid. The function returns a value (TRUE/FALSE).

Note: Does not apply to SpeedScript programming.

Syntax

VALID-EVENT ( handle , event-name [ , platform ] )
handle

An expression that produces a value of type HANDLE. The value must be the handle of a valid widget.

event-name

A character-string expression that evaluates to the name of an event.

platform

A character-string expression that evaluates to the name of a platform type: GUI or TTY.

See also

LAST-EVENT system handle, LIST-EVENTS function, LIST-QUERY-ATTRS function, LIST-SET-ATTRS function, LIST-WIDGETS function