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.

- To show the object icon for each container
object, select Use icon attribute set in the
container. This uses the icon specified for
the Attribute for icon property in the
IVBContainerControl* property sheet. For a native
windows container, use the object icon for the
first column.
- To show the object text of each container object,
select Use text attribute set in the container.
This uses the text specified for the Attribute
for icon text property in the
IVBContainerControl* property sheet. For a native
windows container, use the object text for the
second column.
- To show an attribute of each container object,
select Use an attribute from the part.
Then, select a choice from the Attributes
list box. Only text-related attributes are
available as choices. The data type of the
attribute appears in the Attribute type
field. If applicable, you can select a choice in
the Column type to change the column type.
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.
Setting Part Framing Properties
Working with VisualAge User
Interface Parts
IContainerColumn
Property Settings --
IContainerColumn
Portability --
IContainerColumn