FrameGadget3D()

Syntax

Result = FrameGadget3D(#Gadget3D, x, y, Width, Height, Text$)
Description
Creates a frame gadget in the current GadgetList. This kind of gadget is decorative only.

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$ (optional) The text to display in the frame.

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

As this Gadget is decorative only, GadgetToolTip3D() cannot be used. This Gadget also receives no events.

Supported OS

All

<- EditorGadget3D() - Gadget3D Index - FreeGadget3D() ->