Description
Occurs when the position of the edit table cell with focus changes.
Syntax
bforward = POSCHANGED (ctrlentID, ctrlclassID, nextcolumn, nextrow)
Parameters
POSCHANGED accepts arguments for the following parameters.
Parameter | Description |
---|---|
ctrlentID | Has the format 'WindowName.ControlName, where WindowName is the identifier of the window that contains the affected control, and ControlName is the identifier of the control. Notice that a period separates the two values. |
ctrlclassID | The type of control that recognizes the event. The edit table control is the only valid entry. |
nextcolumn | Current column. |
nextrow | Current row. |
Returns
True or false. If false, then program execution returns to the calling procedure. If true, the event processing goes to the next level.
Note: When the edit table initially gets focus, the POSCHANGED event is not generated. Use a QuickEvent on the GOTFOCUS event to send POSCHANGED to the edit table if desired.