GadgetType3D()

语法

Result = GadgetType3D(#Gadget3D)
概要
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.

参数

#Gadget3D The 3D gadget to use.

返回值

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.

已支持操作系统

所有

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