| Home | Download | Forum | Bug Tracker

|  | v1.4.0

UpDown
Updown control (without an edit control buddy.)
Control Styles
These control styles are available when creating a UpDown 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.
arrowkeys | Causes the up-down control to increment and decrement the position when the UP ARROW and DOWN ARROW keys are pressed.
buddyint | Causes the up-down control to set the text of the buddy window when the position changes. The text consists of the position formatted as a decimal or hexadecimal string.
horz | Causes the up-down control's arrows to point left and right instead of up and down.
hottrack | Causes the control to exhibit "hot tracking" behavior. That is, it highlights the UP ARROW and DOWN ARROW on the control as the pointer passes over them.
left | Positions the up-down control next to the left edge of the buddy window. The buddy window is moved to the right, and its width is decreased to accommodate the width of the up-down control. (default is right)
nothousands | Does not insert a thousands separator between every three decimal digits.
tooltips | The up-down control will have a tooltip.
wrap | Causes the position to "wrap" if it is incremented or decremented beyond the ending or beginning of the range.
/xdid flags
Control commands are input to the control with the /xdid command.
/xdid -c
This command lets you set the updown buddy control.
Syntax: | /xdid -c [DNAME] [ID] [BUDDY ID]
Example: | /xdid -c dcx 4 7
Note. Setting a buddy control is optional, and limited to edit and text type controls only.
/xdid -r
This command lets you set the updown range.
Syntax: | /xdid -r [DNAME] [ID] [MIN] [MAX]
Example: | /xdid -r dcx 4 0 100
/xdid -t
This command lets you set the updown display numerical base.
Syntax: | /xdid -t [DNAME] [ID] [BASE]
Example: | /xdid -t dcx 4 16
Parameters:
BASE | Numerical base for the value.
10 | Decimal
16 | Hexadecimal
/xdid -v
This command lets you set the updown value.
Syntax: | /xdid -v [DNAME] [ID] [VALUE]
Example: | /xdid -v dcx 4 25
$xdid() Properties
The $xdid identifier is a given mIRC alias that communicates with the DCX DLL to extract information in DCX controls.
$xdid().range
This property lets you retreive updown range.
Syntax: | $xdid(dialog, ID).range
Example: | $xdid(dcx, 4).range
$xdid().value
This property lets you retreive updown value.
Syntax: | $xdid(dialog, ID).value
Example: | $xdid(dcx, 4).value
UpDown Events
These events are fired when activity occurs in the UpDown control.
help
Launched when you click on a control using the ? contexthelp button.
Syntax: | /cb_alias DNAME help ID
Example: | /cb_alias dcx help 4
sclick
When the text is clicked.
Syntax: | /cb_alias DNAME sclick ID
Example: | /cb_alias dcx sclick 4
| Control Styles arrowkeys buddyint horz hottrack left nothousands tooltips wrap /xdid Flags -c -r -t -v $xdid() Properties range value Events help sclick

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