Makes it possible for you to create a custom method and specify attributes for that method.
This dialog box appears when you choose New Method on the Form menu that appears when the Form Designer is open or the Class menu that appears when the Class Designer is open.
- Specifies the name of the new method.
- Visibility (Class Designer only)
Specifies the level of visibility for the method:
PublicВ В В Access is available from anywhere in an application.
ProtectedВ В В Restricts access to the method to class members and subclasses can access protected properties. Object instances cannot access protected methods.
HiddenВ В В Restricts access to the method to class members only. Object instances and subclasses cannot access hidden methods.
- PublicВ В В Access is available from anywhere in an application.
- 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.