DCX - Dialog Control Xtension
 
Radio
Radio control.

Control Styles
These control styles are available when creating a Radio 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.
center Control text is centered.
hgradient Draws a horizontal gradient with the colors specified.
pushlike Makes the radio act and look like a push button.
right Radio control box is at the right of text.
rjustify Control text is right justified.
tooltips The radio 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 radio control.
Syntax:
/xdid -c [DNAME] [ID]
Example:
/xdid -c dcx 4

/xdid -t
This command lets you set the radio text.
Syntax:
/xdid -t [DNAME] [ID] (Text)
Example:
/xdid -t dcx 4 Radio Text

/xdid -u
This command lets you uncheck the radio 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 radio selection state.
Syntax:
$xdid(dialog, ID).state
Example:
$xdid(dcx, 4).state

$xdid().text
This property lets you retreive the radio text.
Syntax:
$xdid(dialog, ID).text
Example:
$xdid(dcx, 4).text

Radio Events
These events are fired when activity occurs in the Radio 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

Contact � 2005-2009 Last Updated: 12th July, 09

Valid XHTML 1.0 Transitional Valid CSS!