.comment-link {margin-left:.6em;}

Monday, August 20, 2007

 

TWOLButton

TWOLButton object
Unit: WOLGUI08.
Descendant of TWOLVisualControl. Representation in WOL, of a common and basic GUI button.

Public Methods and Events:

constructor Create (AOwner: TWOLRoot); override;
destructor Destroy; override;
procedure CreateGUIParams (to var aParams: TWOLParams; const wClass: TWOLClassType); override;
procedure CreateWnd (to var aParams: TWOLParams); override;
procedure AllocResources; override;
procedure FreeResources; override;
function WndCommand (to var Message: TWOLMessage): Boolean; override;
function WndMouse (to var Message: TWOLMessage): Boolean; override;
function WndPaint (to var Message: TWOLMessage): Boolean; override;
function WndProc (to var Message: TWOLMessage): Boolean; override;

Published properties and Events:

Default: Boolean (For Reading and Writing)
It indicates the default behavior of the button to the form which it belongs. When the user presses the keyboard keys Enter or ESC, the button default is set in motion, depending on its modal result.

OnClick: TWOLEvent (For Reading and Writing)
Event when the button is clicked.

OnDblClick
OnMouseMove
TextAlign
WindowAlign

Caption
Text that appears in the button. ($?) Commercial one and (&) before a letter indicates that a shortcut for the keyboard using itself it keyboard key ALT and the preceded letter, which is detached with one underlined.

Left
Height
Top
Width
Font
Color
Cursor
Ctrl3D
Visible
Enabled
Hint
Tabstop
TabOrder

Labels: ,


Comments: Post a Comment



<< Home

This page is powered by Blogger. Isn't yours?