OnTypeTextChange picture event
Related pages:
ENTRY OnTypeTextChange(IN INT _refId, IN TEXT _Line, IN INT _StartPos, _CursorPos) ; script actions END OnTypeTextChange
ENTRY XXX_OnTypeTextChange(IN TEXT _Line, IN INT _StartPos, _CursorPos) ; script actions END XXX_OnTypeTextChange
_refId | Parameter of INT type (required for global handler). |
_Line | String that represents the content of current row on the cursor position. |
_StartPos | Position of the first letter of the first word. |
_CursorPos | Current position of cursor (position of the last letter in front of cursor + 1). |
XXX | Name of Reference variable connected to graphic object (without the character "_"). |
; picture event handler: Change of text in entry field ; with assigned reference variable _EField
ENTRY EField_OnTypeTextChange(IN TEXT _Line, IN INT _StartPos, IN INT _CursorPos)
; actions
END
; picture event handler: Change of text in the entry fields ; without a special handler of the picture event
ENTRY OnTypeTextChange(IN INT _refId, IN TEXT _Line, IN INT _StartPos, IN INT _CursorPos)
; _refId - value of Reference local variable assigned to the graphic object IF _refId = _EField THEN ; test that determines the entry field in which the text was changed
; actions
ENDIF END
Related pages:
Pridať komentár