|
 |
|
NOTE: This Design document is subject to change at any time. |
Splitter
Syntax: <SPLITTER property-list/>
The Splitter component is used to allow panels in the window to be resized by the user. For example, two panels, with a splitter between them, allows the user to drag the splitter to resize the two different panels.
A Splitter can also have a "hotspot". When the user clicks on the hotspot, the panel attached to the splitter will be hidden. Clicking on the hotspot again will make the panel reappear.
While a splitter is usually placed between two panels, one of the panels is the "reference control" for the splitter. The reference control is the panel that is hidden or shown when the hotspot is clicked.
By default, the Reference control for a splitter is the panel created before the splitter. So, in the following code:
Code: |
<PANEL Name='PanelA' Align='Left'/>
<SPLITTER/>
<PANEL Name='PanelB' Align='Client'/> |
the PanelA is the reference control for the splitter. |
|