ProgressBarGadget3D()

Syntax

Result = ProgressBarGadget3D(#Gadget3D, x, y, Width, Height, Minimum, Maximum)
Description
Creates a ProgressBar gadget in the current GadgetList.

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.
Minimum, Maximum The minimum and maximum values that the progress bar can take.

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

To add a 'mini help' to this gadget, use GadgetToolTip3D().

The following functions can be used to act on the gadget:

- SetGadgetState3D(): Change progress bar value.
- GetGadgetState3D(): Get the current progress bar value.
- SetGadgetAttribute3D(): With the following attributes:
  #PB_ProgressBar3D_Minimum   : Changes the minimum value.
  #PB_ProgressBar3D_Maximum   : Changes the maximum value.
- GetGadgetAttribute3D(): With the following attributes:
  #PB_ProgressBar3D_Minimum   : Returns the minimum value.
  #PB_ProgressBar3D_Maximum   : Returns the maximum value.

Supported OS

All

<- PanelGadget3D() - Gadget3D Index - RemoveGadgetItem3D() ->