VisuDlgUtil_AdjustCaretAndSelectionAfterNumberFormatChange
(FUN)
FUNCTION VisuDlgUtil_AdjustCaretAndSelectionAfterNumberFormatChange
This help function has to be called whenever the number format was changed. It adjusts the caret and/or selection accordingly
- InOut:
Scope
Name
Type
Comment
Input
iTextLengthBeforeChange
INT
The length of the variable value before the number format was changed
stVariableValue
STRING
The the variable value after the number format was changed
Inout
iCaretPosition
INT
The current position of the caret. Either within the text or at the end of the text
iSelectionStart
INT
The start of the selected text (1-relative)
iSelectionEnd
INT
The end of the selected text (1-relative).