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
iTextLengthBeforeChangeINTThe length of the variable value before the number format was changed
stVariableValueSTRINGThe the variable value after the number format was changed
Inout
iCaretPositionINTThe current position of the caret. Either within the text or at the end of the text
iSelectionStartINTThe start of the selected text (1-relative)
iSelectionEndINTThe end of the selected text (1-relative).