User Tools

Site Tools


built_in:textedit

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
built_in:textedit [2015/06/21 14:34]
octazid [Options]
built_in:textedit [2016/04/29 22:32]
58.96.146.120 [Methods]
Line 52: Line 52:
 Some controls use the same methods.\\ Some controls use the same methods.\\
 For examples of the **[[same methods]]** look here. For examples of the **[[same methods]]** look here.
-^Method ^Description ^ +^ Method                                                           ^ Description                                                                         
-|TextEdit.ClearHistory() | | +| TextEdit.ClearHistory()                                                                                                                              
-|TextEdit.Destroy() | | +| TextEdit.Destroy()                                                                                                                                   
-|TextEdit.GetAbsHeight() | | +| TextEdit.GetAbsHeight()                                                                                                                              
-|TextEdit.GetAbsWidth() | | +| TextEdit.GetAbsWidth()                                                                                                                               
-|TextEdit.GetCursorLine() | Returns the line with the Cursor as number| +| TextEdit.GetCursorLine()                                         | Returns the line with the Cursor as number                                          
-|TextEdit.GetCursorPos() | Returns the position of the Cursor as number| +| TextEdit.GetCursorPos()                                          | Returns the position of the Cursor as number                                        
-|TextEdit.GetHtml()| Returns the Text of a Textedit as Html \\ use this if the contol has a Html option| +| TextEdit.GetHtml()                                               | Returns the Text of a Textedit as Html \\ use this if the contol has a Html option  
-|TextEdit.GetHeight() | | +| TextEdit.GetHeight()                                                                                                                                 
-|TextEdit.GetLineCount() | Returns the count of a line in the Textedit| +| TextEdit.GetLineCount()                                          | Returns the count of a line in the Textedit                                         
-|TextEdit.GetLineStart( lineNum ) | Returns the position of the start of a line as number| +| TextEdit.GetLineStart( lineNum )                                 | Returns the position of the start of a line as number                               
-|TextEdit.GetLineTop( lineNum ) | | +| TextEdit.GetLineTop( lineNum )                                                                                                                       
-|TextEdit.GetMaxLines() | Returns the count of all lines| +| TextEdit.GetMaxLines()                                           | Returns the count of all lines                                                      
-|TextEdit.GetPosition() | | +| TextEdit.GetPosition()                                                                                                                               
-|TextEdit.GetSelectedText()| Returns the selected Text| +| TextEdit.GetSelectedText()                                       | Returns the selected Text                                                           
-|TextEdit.GetSelectionEnd()| Returns the endposition of the selected Text as number| +| TextEdit.GetSelectionEnd()                                       | Returns the endposition of the selected Text as number                              
-|TextEdit.GetSelectionStart()| Returns the startposition of the selected text as number| +| TextEdit.GetSelectionStart()                                     | Returns the startposition of the selected text as number                            
-|TextEdit.GetText() | Returns the Text of the Textedit | +| TextEdit.GetText()                                               | Returns the Text of the Textedit                                                    
-|TextEdit.GetTextSize( mode ) | Returns the Textsize of the Text | +| TextEdit.GetTextSize( mode )                                     | Returns the Textsize of the Text                                                    
-|TextEdit.GetType() | | +| TextEdit.GetType()                                               Returns "TextEdit"                                                                  
-|TextEdit.GetVisibility() | | +| TextEdit.GetVisibility()                                                                                                                             
-|TextEdit.GetWidth() | | +| TextEdit.GetWidth()                                                                                                                                  
-|TextEdit.InsertText( text,start,end ) | | +| TextEdit.InsertText( text,start,end )                                                                                                                
-|TextEdit.Redo() | | +| TextEdit.Redo()                                                                                                                                      
-|TextEdit.Release() | | +| TextEdit.Release()                                                                                                                                   
-|TextEdit.ReplaceText( text,start,end ) | | +| TextEdit.ReplaceText( text,start,end )                                                                                                               
-|TextEdit.SetBackColor( color ) | | +| TextEdit.SetBackColor( color )                                                                                                                       
-|TextEdit.SetBackGradient( color1,color2,color3,p4,p5,p6,p7 ) | | +| TextEdit.SetBackGradient( color1,color2,color3,p4,p5,p6,p7 )                                                                                         
-|TextEdit.SetBackGradientRadial( x,y,r,color1,color2,color3,p7 ) | | +| TextEdit.SetBackGradientRadial( x,y,r,color1,color2,color3,p7 )                                                                                      
-|TextEdit.SetBackground( imagefile,options ) | | +| TextEdit.SetBackground( imagefile,options )                                                                                                          
-|TextEdit.SetCursorPos( number ) | | +| TextEdit.SetCursorPos( number )                                                                                                                      
-|TextEdit.SetHint( text ) | | +| TextEdit.SetHint( text )                                                                                                                             
-|TextEdit.SetHtml( text ) | | +| TextEdit.SetHtml( text )                                                                                                                             
-|TextEdit.SetMargins( left,top,right,bottom ) | | +| TextEdit.SetMargins( left,top,right,bottom )                                                                                                         
-|TextEdit.SetOnChange( callback ) | Starts if the user change the Text in the Textedit | +| TextEdit.SetOnChange( callback )                                 | Starts if the user change the Text in the Textedit                                  | 
-|TextEdit.SetOnTouch( callback )| Starts if the user enter the Textedit | +| TextEdit.SetOnEnter( callback )|As of ver1.34 This disables enter key and fires callback 
-|TextEdit.SetPadding( left,top,right,bottom ) | | +| TextEdit.SetOnTouch( callback )                                  | Starts if the user enter the Textedit                                               
-|TextEdit.SetPosition( left,top,width,height ) | | +| TextEdit.SetPadding( left,top,right,bottom )                                                                                                         
-|TextEdit.SetScale( x,y ) | | +| TextEdit.SetPosition( left,top,width,height )                                                                                                        
-|TextEdit.SetSelection( start,stop ) | Select Text \\  start and stop are the positions in the text as number| +| TextEdit.SetScale( x,y )                                                                                                                             
-|TextEdit.SetSize( width,height ) | | +| TextEdit.SetSelection( start,stop )                              | Select Text \\  start and stop are the positions in the text as number              
-|TextEdit.SetText( text ) | | +| TextEdit.SetSize( width,height )                                                                                                                     
-|TextEdit.SetTextColor( color ) | | +| TextEdit.SetText( text )                                                                                                                             
-|TextEdit.SetTextSize( size,mode ) | | +| TextEdit.SetTextColor( color )                                                                                                                       
-|TextEdit.SetVisibility( ShowHide ) | | +| TextEdit.SetTextSize( size,mode )                                                                                                                    
-|TextEdit.Undo() | |+| TextEdit.SetVisibility( ShowHide )                                                                                                                   
 +| TextEdit.Undo()                                                                                                                                      |
  
 ===== Options ===== ===== Options =====
  
-^ Option      ^ Description                                                     +^ Option      ^ Description                                                                  
-| AutoSelect  | Select all Text if user enter the Textedit                      +| AutoSelect  | Select all Text if user enter the Textedit                                   | 
-| Bold        | Write bold text | +| AutoSize    | Expand or shrink the control automatically so the text fits in the Textedit  
-| Center      | Justify the text in the middle                                  +| Bold        | Write bold text                                                              
-| Left        | Justify the text to the left                                    +| Center      | Justify the text in the middle                                               | 
-| Monospace   | Shows the Text in a Monospace Font                              +| Extract     | Allows full-width keyboard in landscape                                      
-| NoSpell     | Disable the spell-checker                                       +| Left        | Justify the text to the left                                                 
-| Number      | Defaults to the numeric keyboard                                +| Monospace   | Shows the Text in a Monospace Font                                           
-| NoKeyboard  | Shows no Keyboard                                               +| NoSpell     | Disable the spell-checker                                                    
-| ReadOnly    | You cant change the Text                                        +| Number      | Defaults to the numeric keyboard                                             
-| Right       | Justify the text to the right                                   +| NoKeyboard  | Shows no Keyboard                                                            
-| SingleLine  | Doesn't make a linebreak if \\ text is longer than the control  |+| ReadOnly    | You cant change the Text                                                     
 +| Right       | Justify the text to the right                                                
 +| SingleLine  | Doesn't make a linebreak if \\ text is longer than the control               |
built_in/textedit.txt · Last modified: 2016/04/30 06:35 (external edit)