CmdScrollBar
From MCS Wiki AVR
Contents |
Action
Draw a scroll bar.
Syntax
CmdScrollBar x, y, w, h, options, val, range, size, range
Remarks
x |
x-coordinate of scroll bar top-left, in pixels |
y |
y-coordinate of scroll bar top-left, in pixels |
w |
Width of scroll bar, in pixels. If width is greater than height, the scroll bar is drawn horizontally |
h |
Height of scroll bar, in pixels. If height is greater than width, the scroll bar is drawn vertically |
options |
By default the scroll bar is drawn with a 3D effect and the value of options is zero. Options OPT_FLAT removes the 3D effect and its value is 256 |
val |
Displayed value of scroll bar, between 0 and range inclusive range |
range |
Maximum value |