共用方式為


New Method Dialog Box

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

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

  • Name
    Specifies the name of the new method.
  • Visibility (Classes only)
    Specifies whether the class property is protected. 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.
  • 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

Class Designer | Edit Property/Method Dialog Box | Form Designer | New Property Dialog Box | Properties Window | Adding Properties and Methods to a Form