Older Newer
Sun, 08 Jun 2003 08:05:27 . . . . SyneRyder

Changes by last author:


== Syntax ==

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

== Description ==

:The Standard user control is a simple scrollbar including a text label and a numeric edit control. Standard is the default user control type, so you don't need to specify the class property STANDARD when defining the control.

== Class Specific Properties ==


::Changes scrollbar orientation to horizontal. (default)


::Changes scrollbar orientation to vertical.

== Other Properties ==


::Sets the text background color. (default = CadetBlue)


::Sets the font color. (default = White)


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


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


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


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


::Defines the text label next to the scrollbar. (default = no text)


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


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

== Example ==


ctl[0]: STANDARD(MODALFRAME, HORZ), Text="Plasma effect", Val=10, Disable

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

ctl[3]: "Threshold", Range=(-128,128), Val=0


== Notes ==

:It is best to set the Range before setting the Val. If the Val is set first, it might be clipped by the default Range (0,255) before your custom Range is set. If you set the Range first, you can set Val to any value within that range.

== Also see ==


== Comments ==

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