This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
built_in:spinner [2015/03/22 12:54] octazid completed |
built_in:spinner [2016/06/04 01:02] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Spinner control ====== | ====== Spinner control ====== | ||
+ | |||
+ | // | ||
+ | |||
+ | =====Description===== | ||
Create Spinners using the **CreateSpinner** method of the [[built_in: | Create Spinners using the **CreateSpinner** method of the [[built_in: | ||
Line 35: | Line 39: | ||
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 | + | ^ Method |
- | | Spinner.Destroy() | + | | Spinner.GetAbsHeight() |
- | | Spinner.GetAbsHeight() | + | | Spinner.GetAbsWidth() |
- | | Spinner.GetAbsWidth() | + | | Spinner.GetHeight() |
- | | Spinner.GetHeight() | + | | Spinner.GetPosition() |
- | | Spinner.GetPosition() | + | | Spinner.GetText() |
- | | Spinner.GetText() | + | | Spinner.GetTextSize( mode ) | | |
- | | Spinner.GetTextSize( mode ) | | + | | Spinner.GetType() |
- | | Spinner.GetType() | + | | Spinner.GetVisibility() |
- | | Spinner.GetVisibility() | + | | Spinner.GetWidth() |
- | | Spinner.GetWidth() | + | | Spinner.SelectItem( |
- | | Spinner.Release() | + | | Spinner.SetBackColor( colorcode ) | | |
- | | Spinner.SelectItem( | + | | Spinner.SetBackGradient( p1, |
- | | Spinner.SetBackColor( colorcode ) | | + | | Spinner.SetBackGradientRadial( p1, |
- | | Spinner.SetBackGradient( p1, | + | | Spinner.SetList( list, p2 ) | | |
- | | Spinner.SetBackGradientRadial( p1, | + | | Spinner.SetMargins( left, |
- | | Spinner.SetBackground( p1,p2 ) | + | | Spinner.SetOnChange( callback ) | Note: callback runs only when selection changes, not necessarily touched. |
- | | Spinner.SetList( list, p2 ) | | + | | Spinner.SetOnTouch( callback ) |
- | | Spinner.SetMargins( left, | + | | Spinner.SetPadding( left, |
- | | Spinner.SetOnChange( callback ) | | + | | Spinner.SetPosition( left, |
- | | Spinner.SetOnTouch( callback ) | + | | Spinner.SetScale( x,y ) | | |
- | | Spinner.SetPadding( left, | + | | Spinner.SetSize( width, |
- | | Spinner.SetPosition( left, | + | | Spinner.SetText( text ) | | |
- | | Spinner.SetScale( x,y ) | | + | | Spinner.SetTextColor( colorcode ) | | |
- | | Spinner.SetSize( width, | + | | Spinner.SetTextSize( size,mode ) |
- | | Spinner.SetText( text ) | | + | | Spinner.SetVisibility( HideShow ) | | |
- | | Spinner.SetTextColor( colorcode ) | | + | |
- | | Spinner.SetTextSize( size,mode ) | + | |
- | | Spinner.SetVisibility( HideShow ) | | + | |