[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 771
type TCustomMemo = class(TCustomEdit) |
||
protected |
||
procedure CreateHandle; override; |
|
CreateHandle - generates an operating system handle |
procedure DestroyHandle; override; |
|
DestroyHandle - removes the handle for this window |
function RealGetText; override; |
|
Function to get a text-string associated with the control |
procedure RealSetText(); override; |
|
Procedure to store text associated with the control in a string |
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; |
|
|
function WordWrapIsStored; virtual; |
|
WordWrapIsStored - returns True if the WordWrap flag is stored |
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 |
function GetControlClassDefaultSize; override; |
|
Find the default size for this class of controls (by reference to parents) |
public |
||
constructor Create(); override; |
||
destructor Destroy; override; |
||
procedure Append(); |
|
Append - procedure for adding a text string to the Memo |
property Lines: TStrings; [rw] |
|
Lines : an array of strings (single lines of characters) which contains the text held or being entered in the Memo |
property HorzScrollBar: TMemoScrollbar; [rws] |
|
The horizontal scroll bar for this memo |
property VertScrollBar: TMemoScrollbar; [rws] |
|
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; [rws] |
|
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. |
|
| | ||
|
TWinControl - the base class for all windowed controls |
|
| | ||
|
TControl - the main ancestor class for visual controls. |
|
| | ||
TLCLComponent |
||
? | ||
TObject |