Constructing the OASaveConfirmation Part


OASaveConfirmation composition illustration

  1. Create a visual part as follows:

    The part opens in the Composition Editor.

  2. For this part, the client area requires 5 rows and 3 columns. Make the following expandable:

    Set row 5 to a height of 20.

  3. 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?

  4. 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.

  5. Promote the buttonClickEvent feature of YesPB and NoPB.

  6. Connect the buttonClickEvent feature of NoPB to the close action of the IFrameWindow* part.


Related procedures
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

Related references
IMultiCellCanvas
ISetCanvas