Share via


WriteMethod Method

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

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

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.

See Also

ReadExpression Method | ReadMethod Method | WriteExpression Method

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 | Shape | Spinner | TextBox | Timer | ToolBar