%HI_GetTextLimit, %HI_SetTextLimit functions


Function
The function %HI_SetTextLimit sets the maximum number of characters to enter in Windows control of Text entry field or List box types (control function).

The function %HI_GetTextLimit retrieves the maximum number of characters to enter in Windows control of Text entry field or List box types.
Declaration
%HI_SetTextLimit(
   INT in refId,
   INT in maxNrChars,
 )
 
 
 IN INT %HI_GetTextLimit(
   INT in refId
 ) 
Parameters
refIdReference to Windows control of Text entry field or List box types (reference variable).
maxNrCharsMaximum number of characters to enter.
Note
The parameter Type in the configuration of Windows control of List box must be set to the value of Drop down combo, otherwise the function returns the value of 0.
Napíšte komentár