SetGadgetText3D()

Syntax

SetGadgetText3D(#Gadget3D, Text$)
Description
Change the gadget text content of the specified 3D gadget.

Parameters

#Gadget3D The gadget to use.
Text$ The new 3D gadget text.

Return value

None.

Remarks

This function is supported by the following 3D gadgets:

- ButtonGadget3D(): change the text of the ButtonGadget.
- ComboBoxGadget3D(): Set the displayed text. If the ComboBoxGadget is not editable, the text must be in the dropdown list.
- EditorGadget3D(): change the text content of the editor gadget. If you want to add several lines of text at once, separate them with "Chr(13)+Chr(10)".
- FrameGadget3D(): change the title of the FrameGadget.
- ListViewGadget3D(): selects the item that exactly matches the given text.
- StringGadget3D(): change the content of the StringGadget.
- TextGadget3D(): change the content of the TextGadget.

Supported OS

All

<- SetGadgetState3D() - Gadget3D Index - SpinGadget3D() ->