TextGadget3D()

Syntax

Result = TextGadget3D(#Gadget3D, x, y, Width, Height, Text$)
Description
Creates a text gadget in the current GadgetList. This is a basic text area for displaying, not entering, text.

Parameters

#Gadget3D A number to identify the new 3D gadget. #PB_Any can be used to auto-generate this number.
x, y, Width, Height The position and dimensions of the new gadget.
Text$ The text to display.

Return value

Nonzero on success, zero otherwise. If #PB_Any was used as the #Gadget3D parameter then the return-value is the auto-generated gadget number on success.

Remarks

The content can be changed with the function SetGadgetText3D() and can be obtained with GetGadgetText3D().

This Gadget doesn't receive any user events, and GadgetToolTip3D() can't be used with it.

Supported OS

All

<- StringGadget3D() - Gadget3D Index