DCX - Dialog Control Xtension
 
IP Address
IP Address control.

Control Styles
These control styles are available when creating a IP Address 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.
tooltips The ipaddress will have a tooltip.

/xdid flags
Control commands are input to the control with the /xdid command.
/xdid -a
This command lets you set the IP Address value.
Syntax:
/xdid -a [DNAME] [ID] [IP]
Example:
/xdid -a dcx 4 255.255.0.0

/xdid -g
This command lets you set the range of one of the four IP Address fields.
Syntax:
/xdid -g [DNAME] [ID] [N] [MIN] [MAX]
Example:
/xdid -g dcx 4 2 10 20

/xdid -j
This command lets you set the focus on one of the four IP Address fields.
Syntax:
/xdid -j [DNAME] [ID] [N]
Example:
/xdid -j dcx 4 3

/xdid -r
This command lets you clear the IP Address control.
Syntax:
/xdid -r [DNAME] [ID]
Example:
/xdid -r 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().ip
This property lets you retreive the ip.
Syntax:
$xdid(dialog, ID).ip
Example:
$xdid(dcx, 4).ip

IP Address Events
These events are fired when activity occurs in the IP Address control.
edit
When a field in the control changes.
Syntax:
/cb_alias DNAME edit ID
Example:
/cb_alias dcx edit 4

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 IP Address control.
Syntax:
/cb_alias DNAME rclick ID
Example:
/cb_alias dcx rclick 4

sclick
When you left-click on the IpAddress control.
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!