Gambas Documentation - /comp/gb.gtk/control

# Control (gb.gtk)

This class is the parent class of all controls, except Menu.

This class is not creatable.

Properties | Methods | Events
--- | --- | ---

Action
Returns or sets the background color used by the control.
Background
Use this property for assigning a custom cursor to a control.
Cursor
Indicates that the control is in design mode.
Design
Returns or sets if a control accepts drops.
Drop
Indicates that the control is enabled.
Enabled
Returns or sets if a control will expand if included in a container that arranges its contents.
Expand
Returns or sets the font used to draw text in the control.
Font
Returns or sets the foreground color used by the control.
Foreground
H Handle HasFocus Height Hovered Id Ignore Left
Returns or sets the appearence of the cursor when it points inside the control.
Mouse
Name Next NoTabFocus Parent PopupMenu Previous Proxy ScreenX ScreenY Tag ToolTip Top Tracking Visible W Width Window X Y

Delete Drag Grab Hide Lower Move MoveScaled Raise Refresh Reparent Resize ResizeScaled SetFocus Show

DblClick Drag DragLeave DragMove Drop Enter GotFocus KeyPress KeyRelease Leave LostFocus Menu MouseDown MouseDrag MouseMove MouseUp MouseWheel

All events raised by the Control class are native events. Beware that they are raised even if the Enabled property is `FALSE`.