Prehľad
Nástroje obsahu
The function %HI_GetESelEF retrieves an end position of current selection in the windows control Text entry field.
%HI_GetBSelEF( INT in refEntryField )
%HI_GetESelEF( INT in refEntryField )
refEntryField | Reference to Entry field (reference variable). |
INT _length ; character count in the windows control _length := %LenStr(%HI_GetText(_refEntryField)) ; a cursor is placed after the last character _length := _length - 1 %HI_SetSelEF(_refEntryField, _length, _length)
Pridať komentár