
- Create a visual part as follows:
- For the base class, use IFrameWindow
- For the client type, use IMultiCellCanvas
- Name it OASaveConfirmation
The part opens in the Composition Editor.
- For this part, the client area requires 5 rows and 3 columns. Make
the following expandable:
- Rows 1 and 3
- Columns 1 and 3
Set row 5 to a height of 20.
- Add parts that require labels to the client area as follows.
Shorthand used in these tables corresponds to (rowNumber,
columnNumber). Where an entry in the table is blank, the
value is optional.
Table 16. Label Parts for OASaveConfirmation
| Add...
| From...
| To...
| Change it to read...
|
| IStaticText*
| (2,2)
|
| Do you want to save this information?
|
- Remove the Help button from ButtonBar. Rename the
OK button to YesPB and change its label to Yes.
Add an IPushButton part to ButtonBar; name it NoPB and change its label to
No. Using the parts list, reorder the buttons on Button so
they appear in this order: Yes, No,
Cancel.
- Promote the buttonClickEvent feature of YesPB and NoPB.
- Connect the buttonClickEvent feature of NoPB to the
close action of the IFrameWindow* part.
Constructing the OAContractView Part
Constructing the OAContractorView Part
Constructing the OASkillView Part
Working with Parts in the Composition Editor
Editing Part Properties
Dropping Parts in the Composition Editor
About Promoting Part Features
Making Connections in the Composition Editor
IMultiCellCanvas
ISetCanvas
