Aracılığıyla paylaş


WriteMethod Method

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

Control.WriteMethod(cMethodName, cMethodText [,lCreateMethod [, nVisibility [, cDescription]]])

Parameters

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

  • cMethodText
    Specifies the text to write to the specified methods.

  • lCreateMethod
    Specifies whether the method is created when it doesn't already exist. Because this method is useful only at design time, you must save the form or class before changes can be effective.

  • nVisibility
    Specifies the visibility of the new method.

    nVisibility

    Visibility

    1

    Public

    2

    Protected

    3

    Hidden

  • cDescription
    Specifies a description for the new method.

    The method description is limited to 255 characters.

Remarks

Applies To: CheckBox | Collection Class | Column | ComboBox | CommandButton | CommandGroup | Custom | EditBox | Exception Class | Form | FormSet | Grid | Header | Image | Label | Line | ListBox | OLE Bound Control | OLE Container Control | OptionButton | OptionGroup | Page | PageFrame | ReportListener Object | Shape | Spinner | TextBox | Timer | ToolBar

See Also

Reference

ReadExpression Method

ReadMethod Method

WriteExpression Method

Other Resources

Methods (Visual FoxPro)

Language Reference (Visual FoxPro)