Property Sheet

Created:4/13/2001
Description:

This sample adds a command button that when clicked displays a property sheet. The property sheet uses the Map Property Page component category and supplies the Focus Map to the property pages. Any property pages in this category that apply to the IMap interface are then displayed.

How to use:
  1. Open the sample, and compile it to make the CPPPropertySheet.dll/prjPropertySheet.dll.
  2. In the Customize dialog, click on 'Add from file' an select this dll.
  3. Under the Commands tab, select the CPP Propery Sheet/VB Property Sheet command and drag it on to the toolbar. Dismiss the Customize dialog.
  4. Click on the tool and the property sheet will be displayed.

Application:
ArcMap

Difficulty: Beginner


Visual Basic Visual C++
File Description
prjPropertySheet.vbp VB Project file for sample
VBPropertySheet.cls Class file that implements the IComPropertyPage interface.
VBPropertySheet.dll Compiled project DLL.


Key CoClasses: ComPropertySheet
Key Interfaces: ICommand, IComPropertySheetEvents
Key Members: ICommand.OnClick, IComPropertySheetEvents.OnApply