GetScreenGadgetText()

Syntax

String$ = GetScreenGadgetText(#ScreenGadget)
Description
Returns the text content of the specified gadget.

Parameters

#ScreenGadget The gadget to use.

Return value

The text content of the specified gadget.

Remarks

This function is supported by the following gadgets:

- ButtonScreenGadget(): return the text of the ButtonGadget.
- ComboBoxScreenGadget(): return the content of the current item.
- EditorScreenGadget(): return the text content of the editor gadget. Please note, that several lines of text are normally separated with "Chr(13)+Chr(10)".
- ListViewScreenGadget(): return the content of the current item.
- StringScreenGadget(): return the content of the StringGadget.
- TextScreenGadget(): return the content of the TextGadget.

See Also

SetScreenGadgetText()

Supported OS

All

<- GetScreenGadgetState() - ScreenGadget Index - HideScreenGadget() ->