Working with ISplitCanvas Parts

The following tasks are associated with using an ISplitCanvas* part in visual composition. Tasks that are common to many parts are described in related topics.

Selecting the orientation
To specify the orientation of window splits, set the orientation property in the ISplitCanvas* property sheet. With the <default> value, the orientation is vertical, and controls are organized in a single row. To change the deck orientation to horizontal, select the horizontal choice in the value column.

Adding panes
A split canvas is initially filled with a primitive part. To create and fill panes for the split window, select canvas or view port parts from the parts palette and drop them on the split canvas. For example, to create three panes with view ports in them, do the following:
  1. Drop an IViewPort* part on the primitive part that initially fills the split canvas. A split bar and two panes appear, with the view port in the first pane.

  2. Drop an IViewPort* part on the primitive part or on the split bar. The new view port replaces the primitive part in the second pane.

  3. Drop an IViewPort* part on the split bar. A second split bar and third pane appear, with the new view port in the third pane.

Accessing a split canvas after you have added panes
To open the settings view for an ISplitCanvas* part after adding panes, open its pop-up menu on a split bar.

Reordering panes
To reorder panes on the canvas, open the ISetCanvas* pop-up menu and select View parts list. Then, in the parts list window, drag the primary parts in panes to reorder the panes.


Related procedures
Common Tasks for Control Parts
Setting Part Style Properties
Setting Part Color Properties
Setting Part Font Properties
Setting Part Handlers Properties
Setting Part Framing Properties
Working with VisualAge User Interface Parts

Related references
ISplitCanvas
Property Settings -- ISplitCanvas
Portability -- ISplitCanvas