Making the Note Property Bindable

At this point, the Note property is a fully implemented, normal Get/Set property. The next step is to use the Automation tab in ClassWizard to make the Note property a bindable property.

To make the Note property bindable

  1. On the View menu, click ClassWizard.

  2. Click the Automation tab.

  3. In the Class name drop down list box, select CCircCtrl.

  4. In the External names list box, select Note.

  5. Click Data Binding.

    The Data Binding dialog box appears.

  6. Select the Bindable Property check box.

    This specifies that this is a bindable property and that the container will be notified of all changes to this property.

  7. Click OK to confirm the data binding settings and close the Data Binding dialog box.

  8. Click OK to confirm your choices and close ClassWizard.

ClassWizard changes the Note property definition in the file CIRC.ODL so that the type library includes the information that the Note property is bindable.