PutValue
PutValue(windowID, childID), PutValue(windowID), PutValue(, childID), PutValue, PutValue(STACK )
parameters: Identifier of a Windows and a child Windows object
Stack | Position | Description |
---|---|---|
Stack(In) | Top | String, multiple string or integer |
Stack(Out) | Top | - |
With PutValue the value is sent from the stack to an input field and displayed there.
The behaviour of PutValue for different widgets is described here in tabular form.
Note: Use PutObject to create a new window object like Numeric, Date, ... with objects of type CX_NUMERIC, CX_DATE ... to change the object itself.
"Bitte Namen eingeben" PutValue(, NotesButton)
PutValue zum Füllen eines Radiobuttons bzw. einer Checkbox
1 PutValue(, WithInvalidItemsChk)
PutValue zum Füllen einer Fensterüberschrift (multilingual, bleibt nach Sprachumstellung erhalten)
T("Listenauswertung", "List-analyze") PutValue(ListWin)
PutValue zum Füllen einer Fensterüberschrift (nicht multilingual, geht nach Sprachumstellung verloren!)
"Listenauswertung" PutValue(ListWin)
PutValue zum Füllen eines Buttons mit einem Bitmap
CreateTransObject (CX_BITMAP) -> tmpBmp
"CX_ROOTDIR\\bmp\\Pin.bmp" tmpBmp Put
tmpBmp PutValue(, NotesButton)
(further examples)