func_maxgui_gadgets_setgadgettext.rst 614 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. .. _func_maxgui_gadgets_setgadgettext:
  2. =============
  3. SetGadgetText
  4. =============
  5. SetGadgetText -
  6. Description
  7. ===========
  8. .. code-block:: blitzmax
  9. SetGadgetText( gadget:TGadget,text$ )
  10. Sets a gadget's text.
  11. For the @Label, @Button, @TextField, @ComboBox, @TextArea and Group @Panel gadgets, the contents
  12. of the gadget are replaced with the new @text$.
  13. For a @Window gadget, #SetGadgetText changes the title. For @Windows with a status bar,
  14. you can use #SetStatusText to set the status bar text also.
  15. Parameters
  16. ==========
  17. Return Values
  18. =============
  19. Nothing.
  20. Examples
  21. ========
  22. See Also
  23. ========