Button

Inherits Control

This class implements a push button control.

A push button can display a text, a picture, or both.

One button inside a window can be the Default button. Then, pressing the RETURN key will activate the button automatically.

One button inside a window can be the Cancel button. Then, pressing the ESC key will activate the button automatically.

This class is creatable.

DIM hButton AS Button

hButton = NEW Button ( Parent AS Container )

Creates a new push button control.


Properties  Methods  Events 
BackColor  Background  Border  Cancel  Caption  Cursor  Default  Design  Drop  Enabled  Expand  Font  ForeColor  Foreground  H  Handle  Height  Id  Left  Mouse  Next  Parent  Picture  Previous  ScreenX  ScreenY  Tag  Text  ToolTip  Top  Value  Visible  W  Width  Window  X  Y    Delete  Drag  Grab  Hide  Lower  Move  Raise  Refresh  Resize  SetFocus  Show    Click  DblClick  Drag  DragMove  Drop  Enter  GotFocus  KeyPress  KeyRelease  Leave  LostFocus  Menu  MouseDown  MouseMove  MouseUp  MouseWheel