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

Monday, August 20, 2007

 

twoledit

TWOLEdit object
Unit: WOLGUI12.
Descendant of TWOLVisualControl. WOL object a basic box that allows the user to enter a line of text.

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 RecreateWnd; override;
procedure AllocResources; override;
procedure FreeResources; override;
function WndPaint (to var Message: TWOLMessage): Boolean; override;
function WndKeyboard (to var Message: TWOLMessage): Boolean; override;
function WndMouse (to var Message: TWOLMessage): Boolean; override;
function WndNotify (to var Message: TWOLMessage): Boolean; override;
function WndCommand (to var Message: TWOLMessage): Boolean; override;
function WndText (to var Message: TWOLMessage): Boolean; override;
function WndProc (to var Message: TWOLMessage): Boolean; override;

procedure Clear;
method used to clear the content of the entry text box.

procedure ClearSelection;
mwthod used to clear selected text.

procedure CopyToClipBoard;
Method used to copy text of an entry box to the clipboard.

procedure CutToClipboard;
Method used to cut the copy of a box and put it in the clipboard.

procedure PasteFromClipboard;
Method used to paste the content from the clipboard to the entry text box.


procedure SelectAll (Select: Boolean);
Method used to select all the text in an entry box.

Public properties and Events:

Options: TWOLEditSet (For Reading and Writing)
Property that modifies the behavior of the text entry box.

Text: String (For Reading and Writing)
Property used to modify and return the content of a text box is is the same as the Caption in the window object.

TextCase: TWOLEditCharSet (For Reading and Writing)
Property that indicates if the values of the entry box must be all capital, very small or as typed.

MaxLength: TWOLSmallInt (For Reading and Writing)
Property that indicates the maximum size of what the entry box must allow. It must be lesser that 255.

PasswordChar: Char (For Reading and Writing)
Property that it indicates that the entry box must receive passwords and this character is what will appear in the place of each typed letter.

AutoSelect: Boolean (For Reading and Writing)
Property that, when true, it makes the object select all the text whenever the focus is given to it.

Justify: TWOLTextAlign (For Reading and Writing)
Property that indicates the type of justification that the text must have.

AutoSize: Boolean (For Reading and Writing)
Property that it indicates that, when the source and the size to move, the height will be adjusted to the new values.

OnChange: TWOLEvent (For Reading and Writing)
OnClick
OnMouseMove
OnDblClick
OnKeyPress
TextAlign
WindowAlign
Border
Left
Top
Width
Height
Color
Font
Cursor
Ctrl3D
Visible
Enabled
Hint
Tabstop
TabOrder

Labels: ,


Comments: Post a Comment



<< Home

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