SpiderBasic - Gadget

Overview

The Gadgets in SpiderBasic (in other languages also called "controls" or "widgets") are a generic name for all the interface components: button, combobox, listview, panels, ... This library is OS independent and uses the real OS Graphical User Interface (GUI) components.

Before using gadgets there will be normally opened a window first, furthermore there will be often used menus and toolbars when creating graphical user interfaces.

The functions that create a new gadget return the new gadget number (called #Gadget in this library) if #PB_Any was used to create the gadget. If a static number was given to identify the gadget instead of #PB_Any, then the functions return the OS identifier for the created Gadget.

Command Index

AddGadgetColumn
AddGadgetItem
BindGadgetEvent
ButtonGadget
ButtonImageGadget
CalendarGadget
CanvasGadget
CanvasOutput
CanvasVectorOutput
CheckBoxGadget
ClearGadgetItems
CloseGadgetList
ComboBoxGadget
ContainerGadget
CountGadgetItems
DateGadget
DisableGadget
EditorGadget
FrameGadget
FreeGadget
GadgetHeight
GadgetID
GadgetToolTip
GadgetType
GadgetWidth
GadgetX
GadgetY
GetActiveGadget
GetGadgetAttribute
GetGadgetColor
GetGadgetData
GetGadgetItemAttribute
GetGadgetItemData
GetGadgetItemState
GetGadgetItemText
GetGadgetState
GetGadgetText
HideGadget
HyperLinkGadget
ImageGadget
IsGadget
ListIconGadget
ListViewGadget
OpenGadgetList
OptionGadget
PanelGadget
ProgressBarGadget
RemoveGadgetColumn
RemoveGadgetItem
ResizeGadget
ScrollAreaGadget
SetActiveGadget
SetGadgetAttribute
SetGadgetColor
SetGadgetData
SetGadgetFont
SetGadgetItemAttribute
SetGadgetItemData
SetGadgetItemImage
SetGadgetItemState
SetGadgetItemText
SetGadgetState
SetGadgetText
SpinGadget
SplitterGadget
StringGadget
TextGadget
TrackBarGadget
TreeGadget
UnbindGadgetEvent
UseGadgetList
WebGadget

Example

Gadget.sb

Supported OS

All

Reference Manual - Index