Classes

Member variable Get():reader Foundation

Contains an optional code block that determines how a Get object is edited.

Attribute: EXPORTED
Data type: Code block | NIL
Description

A code block may be optionally assigned to the instance variable :reader. By default, the value of this instance variable is NIL and is not required by the Get object. During processing of the READ command by ReadModal(), if the :reader instance variable of the currently active Get object contains a code block it is evaluated after the Get object has received input focus. The code block in :readershould contain an expression or call a function that accepts one argument (the Get object), and should utilize the methods and instance variables of the Get object to handle all editing tasks.

The instance variable :reader makes it possible to change the standard behavior of Get objects within an application. Standard Get object behavior is implemented by the function GetReader() contained in GETSYS.PRG. In order to change the behavior of Get objects, a code block must be assigned to :reader which in turn calls a function or procedure implementing the desired behavior.

Feedback

If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.