GadgetType3D()

Syntax

Result = GadgetType3D(#Gadget3D)
Description
Returns the type of gadget that is represented by the specified 3D gadget. It can be useful to write generic functions that work with more than one type of gadget.

Parameters

#Gadget3D The 3D gadget to use.

Return value

It can be one of the following values:
  #PB_GadgetType3D_Button        : ButtonGadget3D()
  #PB_GadgetType3D_CheckBox      : CheckBoxGadget3D()
  #PB_GadgetType3D_ComboBox      : ComboBoxGadget3D()
  #PB_GadgetType3D_Container     : ContainerGadget3D()
  #PB_GadgetType3D_Editor        : EditorGadget3D()
  #PB_GadgetType3D_Frame         : FrameGadget3D()
  #PB_GadgetType3D_Image         : ImageGadget3D()
  #PB_GadgetType3D_ListView      : ListViewGadget3D()
  #PB_GadgetType3D_Option        : OptionGadget3D()
  #PB_GadgetType3D_Panel         : PanelGadget3D()
  #PB_GadgetType3D_ProgressBar   : ProgressBarGadget3D()
  #PB_GadgetType3D_ScrollArea    : ScrollAreaGadget3D()
  #PB_GadgetType3D_ScrollBar     : ScrollBarGadget3D()
  #PB_GadgetType3D_Spin          : SpinGadget3D()
  #PB_GadgetType3D_String        : StringGadget3D()
  #PB_GadgetType3D_Text          : TextGadget3D()
  #PB_GadgetType3D_Unknown       : The type is unknown. Most likely it is not a PB gadget at all.

Supported OS

All

<- GadgetToolTip3D() - Gadget3D Index - GadgetWidth3D() ->