GUI Help > General > setGadgetText
setGadgetText
setGadgetText handle gadget, str text
Description: Sets the text of the specified gadget. Where this text is displayed depends on the gadget. For a window, this is the caption in the titlebar, for a label this is the text of the label, for an edit gadget this is the text which appears in the editing area.
Return Value:
Parameters:
gadget | Handle to a gadget
text | The new text of the specified gadget
Remarks:
See Also:
Example: (Note: You will need to include the GUI constants file for this example to work)