EditorGadget3D()
Syntax
Result = EditorGadget3D(#Gadget3D, x, y, Width, Height [, Flags])Description
Creates an Editor gadget in the current GadgetList. If #PB_Any is used as '#Gadget3D' parameter, the new gadget number will be returned as 'Result'. #Gadget3D will be the number returned by the EventGadget3D() function.
'Flags' can be the following value:#PB_Editor3D_ReadOnly: The user cannot edit the text in the gadget.To add a 'mini help' to this gadget, use GadgetToolTip3D().
The following functions can be used to act on the editor content:
- GetGadgetText3D(): Get the text content of the editor gadget.
- SetGadgetText3D(): Change the text content of the editor gadget.
- SetGadgetAttribute3D(): With the following attribute:#PB_Editor3D_ReadOnly: Set the read-only state. (0 means editable, nonzero means read-only)- GetGadgetAttribute3D(): With the following attribute:#PB_Editor3D_ReadOnly: Get the read-only state. (0 means editable, nonzero means read-only)
Supported OS
All