Working with IContainerColumn Parts

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

Editing a container column
A container column is visible only in the details view of a container. To work with a container column from the composition surface, select the showDetailsView choice for the container's viewType property. Otherwise, select View parts list from the pop-up menu of the container to access a container column.

Defining a column heading
To define the column heading, set the headingText property in the IContainerColumn * property sheet. Enter the heading in the value column.

Defining column data
To specify what data appears in the column, set the Column definition property in the IContainerColumn* property sheet. Open the Column definition prompter window from the value column, then specify the column data.



Size and Position property graphic

For a native windows container, the first column is an object identification column. It is a visual combination of the object icon and the object text. If you define the first two columns to contain other data, Windows inserts, but initially hides, the object identification column before the columns you define. The user must then drag the edge of the first column you define to expose the object identification column. The only way the user can select an object with the mouse is by clicking on the object identification column.

Reordering columns
To reorder container columns, open the IVBContainerControl* pop-up menu and select View parts list. Then, in the parts list window, drag IContainerColumn* parts within the list to reorder them.


Related procedures
Setting Part Framing Properties
Working with VisualAge User Interface Parts

Related references
IContainerColumn
Property Settings -- IContainerColumn
Portability -- IContainerColumn