| Home | Download | Forum | Bug Tracker

|  | v1.4.0

Scroll
This control enables you to create a scroll bar.
Control Styles
These control styles are available when creating a Scroll control. Remember that the general styles disabled, group, hidden, notheme, tabstop and transparent apply to all DCX controls except the embedded Dialog and Window controls.
alpha | Control is alpha blended.
vertical | Vertical scroll bar.
/xdid flags
Control commands are input to the control with the /xdid command.
/xdid -l
This command lets you set the line step value.
Syntax: | /xdid -l [DNAME] [ID] [VALUE]
Example: | /xdid -l dcx 4 5
Note. See Lineup and Linedown events.
/xdid -m
This command lets you set the page step value.
Syntax: | /xdid -m [DNAME] [ID] [VALUE]
Example: | /xdid -m dcx 4 10
Note. See Pageup and Pagedown events
/xdid -r
This command lets you set the scrollbar range.
Syntax: | /xdid -r [DNAME] [ID] [MIN] [MAX]
Example: | /xdid -r dcx 4 0 100
/xdid -v
This command lets you set the tracker position.
Syntax: | /xdid -v [DNAME] [ID] [POS]
Example: | /xdid -v dcx 4 50
$xdid() Properties
The $xdid identifier is a given mIRC alias that communicates with the DCX DLL to extract information in DCX controls.
$xdid().line
This property lets you retreive the scroll bar line step value.
Syntax: | $xdid(dialog, ID).line
Example: | $xdid(dcx, 4).line
$xdid().page
This property lets you retreive the scroll bar page step value.
Syntax: | $xdid(dialog, ID).page
Example: | $xdid(dcx, 4).page
$xdid().range
This property lets you retreive the scroll bar range.
Syntax: | $xdid(dialog, ID).range
Example: | $xdid(dcx, 4).range
$xdid().value
This property lets you retreive the scroll bar position value.
Syntax: | $xdid(dialog, ID).value
Example: | $xdid(dcx, 4).value
Scroll Events
These events are fired when activity occurs in the Scroll control.
bottom
When the user presses the end key.
Syntax: | /cb_alias DNAME bottom ID POS
Example: | /cb_alias dcx bottom 4 100
Parameters:
POS | Scroll bar position.
help
Launched when you click on a control using the ? contexthelp button.
Syntax: | /cb_alias DNAME help ID
Example: | /cb_alias dcx help 4
linedown
When the user decreases the value by using the arrow keys.
Syntax: | /cb_alias DNAME linedown ID POS
Example: | /cb_alias dcx linedown 4 71
Parameters:
POS | Scroll bar position.
lineup
When the user increases the value by using the arrow keys.
Syntax: | /cb_alias DNAME lineup ID POS
Example: | /cb_alias dcx lineup 4 89
Parameters:
POS | Scroll bar position.
pagedown
When the user decreases the value in large increments by clicking on the scrollbar thumb track.
Syntax: | /cb_alias DNAME pagedown ID POS
Example: | /cb_alias dcx pagedown 4 80
Parameters:
POS | Scroll bar position.
pageup
When the user increases the value in large increments by clicking on the scrollbar thumb track.
Syntax: | /cb_alias DNAME pageup ID POS
Example: | /cb_alias dcx pageup 4 90
Parameters:
POS | Scroll bar position.
top
When the user presses the home key.
Syntax: | /cb_alias DNAME top ID POS
Example: | /cb_alias dcx top 4 0
Parameters:
POS | Scroll bar position.
trackend
When the user releases the left mouse button after dragging the thumb.
Syntax: | /cb_alias DNAME trackend ID POS
Example: | /cb_alias dcx trackend 4 73
Parameters:
POS | Scroll bar position.
| Control Styles alpha vertical /xdid Flags -l -m -r -v $xdid() Properties line page range value Events bottom help linedown lineup pagedown pageup top trackend

Contact | © 2005-2007 | Last Updated: 25th December, 07