WriteMethod Method

Applies To   See Also

Writes the specified text to the specified method. Available at design time only.

Syntax

Control.WriteMethod(MethodName, MethodText)

Arguments

MethodName

Specifies the name of the method to write the specified text to.

MethodText

Specifies the text to write to the specified method to.

Remarks

This method will only set the method text for existing methods. If the object does not contain the method specified, Visual FoxPro generates an error.