User Tools

Site Tools


built_in:textedit

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

built_in:textedit [2015/01/15 17:06]
octazid more [Options]
built_in:textedit [2016/04/30 06:35]
Line 1: Line 1:
-====== TextEdit control ====== 
-===== Create ===== 
-Create TextEdit objects using the CreateTextEdit method of the app object: 
-<code>edt = app.CreateTextEdit( text, width, height, options );</code> 
-You can use the SetOnChange method of the TextEdit to set the name of a function you want to be called when a the text is changed. 
  
-Use the SetText and GetText functions to set and get the text in the TextEdit 
-===== Methods ===== 
-Some controls use the same methods.\\ 
-For examples of the **[[same methods]]** look here. 
-^Method ^Description ^ 
-|TextEdit.ClearHistory() | | 
-|TextEdit.Destroy() | | 
-|TextEdit.GetAbsHeight() | | 
-|TextEdit.GetAbsWidth() | | 
-|TextEdit.GetCursorLine() | | 
-|TextEdit.GetCursorPos() | | 
-|TextEdit.GetHeight() | | 
-|TextEdit.GetLineCount() | | 
-|TextEdit.GetLineStart( p1 ) | | 
-|TextEdit.GetLineTop( p1 ) | | 
-|TextEdit.GetMaxLines() | | 
-|TextEdit.GetPosition() | | 
-|TextEdit.GetText() | | 
-|TextEdit.GetTextSize( mode ) | | 
-|TextEdit.GetType() | | 
-|TextEdit.GetVisibility() | | 
-|TextEdit.GetWidth() | | 
-|TextEdit.InsertText( text,start,end ) | | 
-|TextEdit.Redo() | | 
-|TextEdit.Release() | | 
-|TextEdit.ReplaceText( text,start,end ) | | 
-|TextEdit.SetBackColor( p1 ) | | 
-|TextEdit.SetBackGradient( p1,p2,p3,p4,p5,p6,p7 ) | | 
-|TextEdit.SetBackGradientRadial( p1,p2,p3,p4,p5,p6,p7 ) | | 
-|TextEdit.SetBackground( p1,p2 ) | | 
-|TextEdit.SetCursorPos( p1 ) | | 
-|TextEdit.SetHint( text ) | | 
-|TextEdit.SetHtml( p1 ) | | 
-|TextEdit.SetMargins( left,top,right,bottom ) | | 
-|TextEdit.SetOnChange( p1 ) | | 
-|TextEdit.SetPadding( p1,p2,p3,p4 ) | | 
-|TextEdit.SetPosition( p1,p2,p3,p4 ) | | 
-|TextEdit.SetScale( x,y ) | | 
-|TextEdit.SetSize( p1,p2 ) | | 
-|TextEdit.SetText( p1 ) | | 
-|TextEdit.SetTextColor( p1 ) | | 
-|TextEdit.SetTextSize( size,mode ) | | 
-|TextEdit.SetVisibility( p1 ) | | 
-|TextEdit.Undo() ! ! 
- 
-===== Options ===== 
- 
-^Option ^Description ^ 
-|Center|Justify the text in the middle| 
-|Left|Justify the text to the left| 
-|Monospace|Shows the Text in a Monospace Font| 
-|NoSpell|Disable the spell-checker| 
-|Number|Defaults to the numeric keyboard| 
-|NoKeyboard|Shows no Keyboard| 
-|ReadOnly|You cant change the Text| 
-|Right|Justify the text to the right| 
built_in/textedit.txt ยท Last modified: 2016/04/30 06:35 (external edit)