| Home | Download | Forum | Bug Tracker

|  | v1.4.0

Check
Checkbox control.
Control Styles
These control styles are available when creating a Check 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.
3state | Creates a 3 state checkbox.
alpha | Control is alpha blended.
center | Control text is centered.
hgradient | Draws a horizontal gradient with the colors specified.
pushlike | Makes the check act and look like a push button.
right | Check control box is at the right of text.
rjustify | Control text is right justified.
tooltips | The checkbox will have a tooltip.
vgradient | Draws a vertical gradient with the colors specified.
/xdid flags
Control commands are input to the control with the /xdid command.
/xdid -c
This command lets you check the checkbox.
Syntax: | /xdid -c [DNAME] [ID]
Example: | /xdid -c dcx 4
Note. You can set the indeterminate state when using a 3state check by using the -cu switches.
/xdid -t
This command lets you set the check text.
Syntax: | /xdid -t [DNAME] [ID] (Text)
Example: | /xdid -t dcx 4 Check Text
/xdid -u
This command lets you uncheck the check control.
Syntax: | /xdid -u [DNAME] [ID]
Example: | /xdid -u dcx 4
$xdid() Properties
The $xdid identifier is a given mIRC alias that communicates with the DCX DLL to extract information in DCX controls.
$xdid().state
This property lets you retreive check selection state.
Syntax: | $xdid(dialog, ID).state
Example: | $xdid(dcx, 4).state
$xdid().text
This property lets you retreive the check text.
Syntax: | $xdid(dialog, ID).text
Example: | $xdid(dcx, 4).text
Check Events
These events are fired when activity occurs in the Check 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
rclick
When you right-click on the text.
Syntax: | /cb_alias DNAME rclick ID
Example: | /cb_alias dcx rclick 4
sclick
When the text is clicked.
Syntax: | /cb_alias DNAME sclick ID
Example: | /cb_alias dcx sclick 4
| Control Styles 3state alpha center hgradient pushlike right rjustify tooltips vgradient /xdid Flags -c -t -u $xdid() Properties state text Events help rclick sclick

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