<OBJECT>.HAS_METHOD()

Syntax

Result_Flag as L = <OBJECT>.HAS_METHOD( Method_Name as C )

Argument

Description

Method_Name

The name of a method.

Description

The <OBJECT>.HAS_METHOD() method applies to:

The <OBJECT>.HAS_METHOD() method returns .T. (TRUE) if the <name> object has the specified method; otherwise, it returns .F. (FALSE).

Supported By

Alpha Five Version 5 and Above

Limitations

Desktop applications only.

Example

dim ptr as P

ptr = form.load("Travel Time")

? ptr.Has_Method("foo") à.F.

? ptr.Has_Method("Name") à.T.

See Also

Form Functions and Methods, Browse Functions and Methods