Constructing the OAClearConfirmation Part


OAClearConfirmation composition illustration

  1. Create a visual part as follows:

    The part opens in the Composition Editor.

  2. Temporarily move the ButtonBar part onto the free-form surface.

  3. Delete the ClientArea part, exposing the MultiCellCanvas1 part underneath.

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

    Set row 5 to a height of 20.

  5. Add an IStaticText* part to cell (2,2) of MultiCellCanvas1. Change its text to read Do you want to clear information from all pages?

  6. Put the ButtonBar part into cell (4,2) of MultiCellCanvas1.

  7. Remove the Help button from ButtonBar.

  8. Rename the OK button to YesPB and change its label to Yes. Set YesPB as the default button.

  9. Rename the Cancel button to NoPB and change its label to No.

  10. Promote the buttonClickEvent feature of YesPB and NoPB.

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