User Tools

Site Tools


built_in:text

Differences

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

Link to this comparison view

built_in:text [2014/09/17 18:20]
stevegarman
built_in:text [2019/06/22 01:01]
Line 1: Line 1:
-====== Text control ====== 
-===== Create ===== 
-Create Text objects using the **CreateText** method of the [[app]] object: 
  
-<code>txt = app.CreateText( text, width, height, options );</code> 
-You can use the **"Multiline"** option to allow multi-line text and the **"Left"** or **"Right"** options to align the text. The default is single line centered text. 
- 
-Use the SetText and GetText functions of the Text object to set and get it's text. 
-===== Methods ===== 
-^Method ^Description ^ 
-|txt.GetHeight| | 
-|txt.GetLineCount| | 
-|txt.GetLineStart| | 
-|txt.GetLineTop| | 
-|txt.GetMaxLines| | 
-|txt.Gettxt| | 
-|txt.GetVisibility| | 
-|txt.GetWidth| | 
-|txt.Release| | 
-|txt.SetBackColor| | 
-|txt.SetBackGradient| | 
-|txt.SetBackGradientRadial| | 
-|txt.SetBackground| | 
-|txt.SetHtml| | 
-|txt.SetMargins| | 
-|txt.SetOnLongTouch| | 
-|txt.SetOnTouch| | 
-|txt.SetOnTouchDown| | 
-|txt.SetOnTouchMove| | 
-|txt.SetOnTouchUp| | 
-|txt.SetPadding| | 
-|txt.SetPosition| | 
-|txt.SetSize| | 
-|txt.Settxt| | 
-|txt.SettxtColor| | 
-|txt.SettxtSize| | 
-|txt.SetTouchable| | 
-|txt.SetVisibility! ! 
built_in/text.txt ยท Last modified: 2019/06/22 01:01 (external edit)