| Home | Translations | Download | Forum | Bug Tracker

|  | v1.3.7

Divider
This control enables you to create a divider control. This control acts as a container for other controls. The divider control is consisted of two panes that host a child control. The panes are resized using the divider bar between them. The divider control resizes automaticaly it's child windows when the bar is moved. Multiple dividers can be nested for advanced UI interfaces.
Control Styles
These control styles are available when creating a Divider control. Remember that the general styles disabled, group, notheme, tabstop and transparent apply to all DCX controls.
vertical | The divider has vertical panes.
/xdid flags
Control commands are input to the control with the /xdid command.
/xdid -l|-r
This command lets you add a child control to a divider pane. The -l switch is for the left/top pane, and -r for the right/bottom pane.
Syntax: | /xdid -l|-r [DNAME] [ID] [MIN] [IDEAL] [TAB] [CID] [CONTROL] [X] [Y] [W] [H] (OPTIONS)
Example: | /xdid -l|-r dcx 4 100 0 $chr(9) 12 richedit 10 10 400 25 multi
Parameters:
MIN | Minimum Pane Width/Height.
IDEAL | Not used yet. Use 0, required but ignored.
CID | Unique control ID for the DCX Control. Must be unique for all the controls of the dialog!
CONTROL | The type of DCX Control to be created.
treeview | Creates a TreeView control.
listview | Creates a Listview control.
rebar | Creates a Rebar control.
richedit | Creates a RichEdit control.
webctrl | Creates a WebCtrl.
edit | Creates a Edit control.
image | Creates a Image control.
list | Creates a List control.
divider | Creates a Divider control.
panel | Creates a Panel control.
tab | Creates a Tab control.
X | X position of control. Use 0, required but ignored.
Y | Y position of control. Use 0, required but ignored.
W | Width of control.
H | Height of control.
OPTIONS | Optional styles and options available on each individual controls.
/xdid -v
This command lets you set the divider bar position.
Syntax: | /xdid -v [DNAME] [ID] [POS]
Example: | /xdid -v dcx 4 150
Note. The value must be between the left pane minimum width/height and the width/height of the control minus the right pane minimum width/height. Left W/H <= POS <= Right W/H.
Divider Events
These events are fired when activity occurs in the Divider 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
| Control Styles vertical /xdid Flags -l|-r -v Events help

Contact | © 2005-2006 | Last Updated: 14th January, 07