TW3Memo

From Smart Mobile Studio
Jump to: navigation, search


Represents class for multi-line edit control. Most important property is Text which may be set in advance and be read after User’s action.

TW3Memo


Unit: W3Memo.pas


Hierarchy
TObject
TW3TagObj
TW3Component
TW3MovableControl
TW3CustomControl
TW3Memo
Properties
Property-icon.png ScrollH
Property-icon.png ScrollV
Property-icon.png Text


Properties

Property-icon.png ScrollH

Specifies visibility options for horizontal scrollbar.

property ScrollH: TW3MemoScrollbarOption read getHOpt write setHOpt;

By setting this property to soAuto, scroll bar will be shown only if needed, when text overflow component bounds. soNone hide scroll bar completely, and soScroll (default value) always shows bars.


See also: TW3MemoScrollbarOption


Property-icon.png ScrollV

Specifies visibility options for vertical scrollbar.

property ScrollV: TW3MemoScrollbarOption read getVopt write setVopt;


See also: ScrollH, TW3MemoScrollbarOption


Property-icon.png Text

Specifies editable text of edit control.

property Text: String read getText write setText;

Remarks:

Since W3Memo is multi-line control, Text property may be set with special characters used:

W3Memo1.Text := 'Smart Mobile' + #13#10 + 'Studio';

TW3Memo text