Class Memo
Inheritance
Edit | Memo 🡄 Edit 🡄 WinControl 🡄 Control 🡄 Component 🡄 Object |
Properties
Lines | Strings object for this memo. |
Scrollbars | Set the type of ascrollbars to show. |
WantReturns | Set if returns will send a event or not. |
WantTabs | Set if tabs will add a tab to the memo. |
WordWrap | Set if words at the end of the control should go to the next line. |
Methods
append ( string ) | |
getLines () | Returns a Strings class. |
getScrollbars () | |
getWantReturns () | |
getWantTabs () | |
getWordWrap () | |
setScrollbars ( scrollbarenumtype ) | Sets the scrollbars. |
setWantReturns ( wantreturns ) | |
setWantTabs ( wanttabs ) | |
setWordWrap ( wordwrap ) |
Creation
createMemo ( owner ) | Creates a Memo class object which belongs to the given owner. |
Inheritance
Properties
- Lines
-
Strings object for this memo.
Type:
- Scrollbars
-
Set the type of ascrollbars to show.
Possible value: ssNone, ssHorizontal, ssVertical, ssBoth, ssAutoHorizontal, ssAutoVertical, ssAutoBoth
Type:
Scrollstyle - WantReturns
-
Set if returns will send a event or not.
Type:
boolean - WantTabs
-
Set if tabs will add a tab to the memo.
False if tab will go to the next control.
Type:
boolean - WordWrap
-
Set if words at the end of the control should go to the next line.
Type:
boolean
Methods
- append ( string )
-
Parameters:
- string
- getLines ()
- Returns a Strings class.
- getScrollbars ()
- getWantReturns ()
-
Returns:
-
boolean
- getWantTabs ()
-
Returns:
-
boolean
- getWordWrap ()
-
Returns:
-
boolean
- setScrollbars ( scrollbarenumtype )
-
Sets the scrollbars.
Horizontal only takes affect when wordwrap is disabled.
valid enum types: ssNone : No scrollbars ssHorizontal: Has a horizontal scrollbar ssVertical: Has a vertical scrollbar ssBoth: Has both scrollbars ssAutoHorizontal: Same as above but only shows when there actually is something to scroll for ssAutoVertical: " " " " ... ssAutoBoth: " " " " ...
Parameters:
- scrollbarenumtype
- setWantReturns ( wantreturns )
-
Parameters:
- wantreturns boolean
- setWantTabs ( wanttabs )
-
Parameters:
- wanttabs boolean
- setWordWrap ( wordwrap )
-
Parameters:
- wordwrap boolean
Creation
- createMemo ( owner )
-
Creates a Memo class object which belongs to the given owner.
Owner can be any object inherited from WinControl.
Parameters:
- owner WinControl
Returns: