ImageGadget3D()
Syntax
Result = ImageGadget3D(#Gadget3D, x, y, Width, Height, TextureID [, Flags])Description
Creates an Image gadget in the current GadgetList. If #PB_Any is used as '#Gadget3D' parameter, the new gadget number will be returned as 'Result'. The TextureID represents an image and can be obtained with TextureID() from the Texture library. If the TextureID is 0, then no image will be displayed. The gadget dimensions autofit to the image size.
To add a 'mini help' to this gadget, use GadgetToolTip3D().
- SetGadgetState3D(): Change the current Image of the gadget. A valid TextureID can be easily obtained with the TextureID() function. If the TextureID is 0, then the image is removed from the gadget.
'Flags' are always optional and can be composed of one of the following constants:#PB_Image3D_Border : display a sunken border around the image.
Supported OS
All