Description | Hierarchy | Fields | Methods | Properties |
type unaWinMemo = class(unaWinEdit)
Memo window.
![]() |
constructor create(const text: string; parent: unaWinWindow; x: int = 2; y: int = 2; w: int = 64; h: int = 18; style: unsigned = ES_LEFT or WS_CHILD or ES_MULTILINE or ES_AUTOVSCROLL or ES_AUTOHSCROLL or WS_HSCROLL or WS_VSCROLL or WS_TABSTOP or WS_VISIBLE); overload; |
![]() |
function getLine(index: unsigned = 0): string; |
![]() |
function replaceSel(const line: string): unaWinMemo; |
![]() |
function setSel(starting, ending: int): unaWinMemo; |
![]() |
function onCommand(cmd: int; wnd: int): bool; override; |
![]() |
constructor create(const text: string; parent: unaWinWindow; x: int = 2; y: int = 2; w: int = 64; h: int = 18; style: unsigned = ES_LEFT or WS_CHILD or ES_MULTILINE or ES_AUTOVSCROLL or ES_AUTOHSCROLL or WS_HSCROLL or WS_VSCROLL or WS_TABSTOP or WS_VISIBLE); overload; |
Creates EDIT window with ES_MULTILINE style set by default. |
![]() |
function getLine(index: unsigned = 0): string; |
Returns line from memo with specified index (starting form 0). Line length is limited to 65535. |
![]() |
function replaceSel(const line: string): unaWinMemo; |
Replaces selected text with given string. |
![]() |
function setSel(starting, ending: int): unaWinMemo; |
Sets the selection in memo. |
![]() |
function onCommand(cmd: int; wnd: int): bool; override; |
(c) 2012 Lake of Soft