New Property Dialog Box

Allows you to create a new property and specify the description and visibility of the property.

This dialog box appears when you select New Property from the Class or Form menus.

  • Name
    Specifies the name of the new property.
  • Visibility (Classes only)
    Protected properties cannot be accessed by object instances, but can be accessed by subclasses. Hidden properties cannot be accessed by either object instances or subclasses.
  • Access Method
    Specifies if an Access method is created for the new property. The code in an Access method is executed whenever the property is queried. Select this check box to create an Access method for a property.
  • Assign Method
    Specifies if an Assign method is created for the new property. The code in an Assign method is executed whenever you attempt to change the value of the property. Select this check box to create an Assign method for a property.
  • Description
    Contains the method description to be displayed at the bottom of the Properties window in the Class Designer and, if the property is not protected, in the Form Designer.

See Also

Access and Assign Methods | Class Designer | Edit Property/Method Dialog Box | Form Designer | New Class Dialog Box | New Method Dialog Box | Properties Window | Forms Property