[Overview][Constants][Types][Classes][Procedures and functions][Index] |
[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
TCustomMemo : the base class for TMemo
Source position: stdctrls.pp line 791
type TCustomMemo = class(TCustomEdit) |
||
class procedure WSRegisterClass; override; |
|
WSRegisterClass - Register this Class for the current Widget Set |
protected |
||
procedure CreateParams(); override; |
||
procedure InitializeWnd; override; |
|
InitializeWnd - initialises the window by creating the borders and outline, then loading up any strings that have already been specified for display |
procedure FinalizeWnd; override; |
|
FinalizeWnd - getting ready to close down the window: first stores the text strings in a safe place, then frees the storage occupied by them |
function RealGetText; override; |
|
RealGetText - returns the contents of Lines.Text (overriding inherited method) |
procedure RealSetText(); override; |
|
RealSetText - copies Value into Lines.Text (overriding inherited method) |
function GetCachedText(); override; |
|
GetCachedText - method for retrieving caption text from cache; returns True if successful |
function GetCaretPos; override; |
|
GetCaretPos - returns the position of the caret or edit cursor |
procedure SetCaretPos(); override; |
|
SetCaretPos - specifies the position of the caret or edit cursor |
procedure SetLines(); |
|
SetLines - specify the text strings to occupy Lines |
procedure SetSelText(); override; |
|
SetSelText - specifies the selected text string |
procedure SetWantReturns(); |
|
SetWantReturns - sets a boolean flag showing that Return characters are to be included in the edit strings |
procedure SetWantTabs(); |
|
SetWantTabs - sets a boolean flag to show that the use of tabs in the edit string is required |
procedure SetWordWrap(); |
|
SetWordWrap - speifies the value of the WordWrap property |
procedure SetScrollBars(); |
|
SetScrollBars - specifies the style of the scroll bars |
procedure Loaded; override; |
|
Loaded calls inherited method then sets the ScrollBar and WordWrap properties |
procedure ControlKeyDown(); override; |
|
ControlKeyDown - contains the set of special keys (shift, control, alt, meta) that are pressed |
procedure CNChar(); message; |
|
CNChar - control message specifying a character |
protected |
||
class function GetControlClassDefaultSize; override; |
|
GetControlClassDefaultSize - makes its own defaults, overriding inherited method |
public |
||
constructor Create(); override; |
|
Create - constructor for TCustomMemo: calls inherited Create then initialises some variables, creates the stringlist and creates scrollbars |
destructor Destroy; override; |
|
Destroy - destructor for TCustomMemo: frees stringlist and scrollbars then calls inherited Destroy |
procedure Append(); |
|
Append - procedure for adding a text string to the Memo |
|
Lines : an array of strings (single lines of characters) which contains the text held or being entered in the Memo |
|
property HorzScrollBar: TMemoScrollbar; [rw] |
|
The horizontal scroll bar for this memo |
property VertScrollBar: TMemoScrollbar; [rw] |
|
The Vertical scroll bar for this memo |
property ScrollBars: TScrollStyle; [rw] |
|
Whether the Memo has ScrollBars - none, horizontal or vertical or both, or automatically placed if needed |
property WantReturns: Boolean; [rw] |
|
Whether Return characters are required to be included in the memo |
property WantTabs: Boolean; [rw] |
|
Whether Tab characters are required to be retained in the Memo |
property WordWrap: Boolean; [rw] |
|
Is WordWrap enabled, allowing long words to be carried on to the next line? |
end; |
|
TCustomMemo : the base class for TMemo |
|
| | ||
|
TCustomEdit : the base type from which the TEdit Box is derived. |
|
| | ||
| | ||
| | ||
|
TLCLComponent - base class for LCL components |
|
| | ||
| | ||
| | ||
lazarus-ccr.sourceforge.net |