VisuDlg_ProcessChar (FUN)
FUNCTION VisuDlg_ProcessChar
This function takes a given character and appends/inserts it in the string representing the variable value. To decide, which action has to be performed, the current caret position and the currently selected text is evaluated.
- InOut:
Scope
Name
Type
Comment
Inout
stOutputValueSTRINGThis is the string representation of the variable value, that will be displayed in the visualization. If the flag xPassword is TRUE the variable value will be display with password characters
stVariableValueSTRINGThis parameter is the variable value, where the character is appended/inserted
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). If the complete text is selected this parameter is textlength + 1
Input
xPasswordBOOLInidicates, whether the entered value should be readable (FALSE) or displayed with password characters
cToConsumeSTRING(4)The character to append/insert