ImageGadget()

Syntax

ImageGadget(#Gadget, x, y, Width, Heigth, ImageID [, Flags])

Description

Create an Image gadget in the current GadgetList. The ImageID represents a BMP file and can be obtained by using UseImage() or ImageID() from the Image library. The gadget dimension autofit the image size. The gadget doesn't have any input, so user interactions (mouse clicks etc...) aren't reported.

'Flags' are optionnals and can be composed of one of the following constants:
  #PB_Image_Border : display a sunken border around the image. 

Supported OS

Windows

Gadget - Index