Progress
Language Reference


VALID-EVENT Function

Interfaces
OS
SpeedScript
All
All
No

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).

SYNTAX

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

widget-handle

An expression that produces a value of type WIDGET-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


Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095