New Property Dialog Box

See Also

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.

Dialog Box Options

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. See Access and Assign Methods for more information about Access methods.

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. See Access and Assign Methods for more information about Assign methods.

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.