Difference between revisions of "Lua:Class:Memo"

From Cheat Engine
Jump to navigation Jump to search
(Page creation.)
 
 
(7 intermediate revisions by 3 users not shown)
Line 1: Line 1:
'''Memo Class''': (Inheritance: Edit->[[WinControl]]->[[Control]]->[[Component]]->[[Object]])
+
[[Category:Lua]]
 +
'''Memo Class''': (Inheritance: ''[[Lua:Class:Edit|Edit]]''->''[[Lua:Class:WinControl|WinControl]]''->''[[Lua:Class:Control|Control]]''->''[[Lua:Class:Component|Component]]''->''[[Lua:Class:Object|Object]]'')
 +
 
 
createMemo(owner): Creates a Memo class object which belongs to the given owner. Owner can be any object inherited from WinControl
 
createMemo(owner): Creates a Memo class object which belongs to the given owner. Owner can be any object inherited from WinControl
  
Line 30: Line 32:
 
     ssAutoVertical: " " " " ...
 
     ssAutoVertical: " " " " ...
 
     ssAutoBoth: " " " " ...
 
     ssAutoBoth: " " " " ...
 +
 +
 +
{{LuaSeeAlso}}

Latest revision as of 02:02, 25 January 2018

Memo Class: (Inheritance: Edit->WinControl->Control->Component->Object)

createMemo(owner): Creates a Memo class object which belongs to the given owner. Owner can be any object inherited from WinControl

Properties[edit]

 Lines: Strings - Strings object for this memo
 WordWrap: boolean - Set if words at the end of the control should go to the next line
 WantTabs: Boolean - Set if tabs will add a tab to the memo. False if tab will go to the next control
 WantReturns: Boolean - Set if returns will send a event or not
 Scrollbars: Scrollstyle - Set the type of ascrollbars to show (ssNone, ssHorizontal, ssVertical, ssBoth,
   ssAutoHorizontal, ssAutoVertical, ssAutoBoth)

Methods[edit]

 append(string)
 getLines() : returns a Strings class
 getWordWrap()
 setWordWrap(boolean)
 getWantTabs()
 setWantTabs(boolean)
 getWantReturns()
 setWantReturns(boolean)
 getScrollbars()
 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: " " " " ...


See also[edit]