How Do I...
You can customize a part by changing its settings. To change the
settings for parts in DirectoryView, a visual part introduced in Example: Add user interface parts:
- Open the Text part's Properties window.
- In the object field, specify initial contents such as
c:.
- For the Multiple Select List part, select the framingSpec field
and open the framing spec dialog. Change the part's attachments as
follows:
- Select Top, then select XmATTACHWIDGET as the
attachment type, specify an Offset of 10, and specify the Text part
as the target.
- Select Bottom, then select XmATTACHFORM as the
attachment type, and specify an Offset of 1.
- Select Left, then select XmATTACHFORM as the
attachment type, and specify an Offset of 1.
- Select Right, then select XmATTACHFORM as the
attachment type, and specify an Offset of 1.
- Select OK.
- Close the Properties window.
These are the only changes that need to be made in Properties windows for
parts in DirectoryView. You can otherwise keep the default
values.
Example: Change a part's label explains
how to change the parts' labels.
[ Top of Page | Previous Page | Next Page | Table of Contents ]