Loading...
 

SetBufSize

SetBufSize

SetBufSize(windowID, childID), SetBufSize(, childID), SetBufSize

parameters: Identifier of a Windows and a child Windows object

Stack
Stack Position Description
Stack(In) Top Size of the input buffer
Stack(Out) Top -

The size of the input buffer of an input field - and thus the maximum number of characters that can be entered - can be changed with this instruction. The currently visible character string is truncated if the buffer becomes too small.

Code example:
Prompt(10, 22, T("Formel", "Formula")) String(Formula, 100, 22, 450) [ INITIALIZE: 1000 SetBufSize /* Set the buffer size to 1000 Characters! */ ]