This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
built_in:seekbars [2016/09/18 17:56] 99.238.18.153 [Table] Added descriptions to SeekBar.SetMaxRate and Seekbar.SetRange |
built_in:seekbars [2016/09/19 02:18] (current) |
||
---|---|---|---|
Line 34: | Line 34: | ||
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 |
- | | SeekBar.Destroy() | + | | SeekBar.Destroy() |
- | | SeekBar.GetAbsHeight() | + | | SeekBar.GetAbsHeight() |
- | | SeekBar.GetAbsWidth() | + | | SeekBar.GetAbsWidth() |
- | | SeekBar.GetHeight() | + | | SeekBar.GetHeight() |
- | | SeekBar.GetPosition() | + | | SeekBar.GetPosition() |
- | | SeekBar.GetType() | + | | SeekBar.GetType() |
- | | SeekBar.GetValue() | + | | SeekBar.GetValue() |
- | | SeekBar.GetVisibility() | + | | SeekBar.GetVisibility() |
- | | SeekBar.GetWidth() | + | | SeekBar.GetWidth() |
- | | SeekBar.Release() | + | | SeekBar.Release() |
- | | SeekBar.SetBackColor( color ) | + | | SeekBar.SetBackColor( color ) |
- | | SeekBar.SetBackGradient( color1, | + | | SeekBar.SetBackGradient( color1, |
- | | SeekBar.SetBackGradientRadial( x, | + | | SeekBar.SetBackGradientRadial( x, |
- | | SeekBar.SetBackground( imagefile, | + | | SeekBar.SetBackground( imagefile, |
- | | SeekBar.SetMargins( left, | + | | SeekBar.SetMargins( left, |
- | | SeekBar.SetMaxRate( ms ) | Sets the maximum rate at which the OnTouch event can occur. At least ms milliseconds must pass between each occurance of the OnTouch event. If not set, ms defaults to 0. | | + | | SeekBar.SetMaxRate( ms ) | Sets the maximum rate at which the OnTouch event can occur. At least ms milliseconds must pass between each occurance of the OnTouch event. If not set, ms defaults to 0. | |
- | | SeekBar.SetOnTouch( callback ) | | | + | | SeekBar.SetOnTouch( callback ) | | |
- | | SeekBar.SetPadding( width, | + | | SeekBar.SetPadding( width, |
- | | SeekBar.SetPosition( left, | + | | SeekBar.SetPosition( left, |
- | | SeekBar.SetRange( range ) | Sets the maximum value of the seekbar. The minimum value is 0. | + | | SeekBar.SetRange( range ) | Sets the maximum value of the seekbar. The minimum value is 0. |
- | | SeekBar.SetScale( x,y ) | Multiplies the horizontal and vertical size of the seekbar by x and y respectively. | + | | SeekBar.SetScale( x,y ) | Multiplies the horizontal and vertical size of the seekbar by x and y respectively. |
- | | SeekBar.SetSize( width, | + | | SeekBar.SetSize( width, |
- | | SeekBar.SetValue( value ) | Sets the value of the seekbar to the given value. If the given value is outside the seekbar' | + | | SeekBar.SetValue( value ) | Sets the value of the seekbar to the given value. If the given value is outside the seekbar' |
- | | SeekBar.SetVisibility( HideShow ) | + | | SeekBar.SetVisibility( HideShow ) |
=====Sample===== | =====Sample===== | ||
[[tips_tricks: | [[tips_tricks: |