Older Newer
Tue, 25 Jun 2019 13:02:48 . . . . 107.77.109.48 [description of gamma and default value]


Changes by last author:

Added:
= SCROLLBAR =

== Syntax ==

:ctl[n]: SCROLLBAR(Class Specific Properties), Other Properties

== Description ==

:In contrast to the STANDARD control, using the SCROLLBAR control will invoke a scrollbar without text and edit control.

== Class Specific Properties ==

:HORZ

::Changes scrollbar orientation to horizontal. (default)

:VERT

::Changes scrollbar orientation to vertical.

== Other Properties ==

:Divisor

::Sets the divisor for the text box. (default = 1)

:Gamma

::Sets the gamma for what position in the slider corresponds to a given value. A gamma of 200, for example, causes the value to rise more slowly at the low end.(default = 100)

:Line

::Sets the left/right button jump unit. (default = 1)

:NoTrack

::Prevents the preview window updating when dragging the scrollbar's handle. (default)

:Page

::Sets the scrollbar paging jump unit. (default = 10)

:Range

::Sets the numerical range the scrollbar can return. (default = (0, 255))

:Track

::Updates the preview window when dragging the scrollbar's handle.

:Val

::Initializes the scrollbar's value. (default = 0)

== Example ==

<code>

ctl[0]: SCROLLBAR(MODALFRAME, HORZ), Val=10, Disable

ctl[2]: SCROLLBAR(VERT), Range=(-10,10), Val=0, Track

</code>

== Also see ==

:STANDARD, TRACKBAR, SLIDER

== Comments ==

:Everyone can add his comments about his experiences with this function here. Tips for using it are welcome, too.