[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
CLASS MESSAGE...METHOD
Synopsis
Declare class message and corresponding method.
Syntax
CLASS MESSAGE <messageName> METHOD <methodName>
Arguments
<messageName> is the name of the message being declared. Like
a Clipper function or variable name, up to 10 characters are
significant. Extra characters will be ignored.
<methodName> is the name of the method to invoke when the
specified message is sent. A method of this name should be defined
later in the same module using the METHOD definition command,
unless an external method is being declared.
Description
Declares a class message and corresponding class method. Class
messages declared with this command can only be sent to the class
object for the class being defined, not to instances of the class.
See the section on Class Messages for more information about
class messages and methods.
This command is used when a class method cannot have the same name
as the message which invokes it. If a class message and its method
have the same name, the CLASS METHOD command should be used
instead.
See the entry for the MESSAGE...METHOD command for examples
and more information.
See Also
MESSAGE...METHOD, CLASS METHOD, Class Messages,
External Methods
See Also:
MESSAGE...METHOD
CLASS METHOD
Class Messages
External Methods
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson