| Home | Download | Forum | Bug Tracker

|  | v1.4.0

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, hidden, notheme, tabstop and transparent apply to all DCX controls except the embedded Dialog and Window 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 create. Values can be: button, calendar, colorcombo, comboex, datetime, directshow, ipaddress, listview, pbar, richedit, statusbar, toolbar, trackbar, treeview, updown, webctrl box, check, edit, image, line, link, list, radio, scroll, text divider, pager, panel, rebar, stacker or tab.
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-2007 | Last Updated: 25th December, 07