Share via


WriteExpression Method

Writes an expression to a property. Available at design time and run time.

Object.WriteExpression[cPropertyName, cExpression]

Parameters

  • cPropertyName
    Specifies the name of the property to write the expression to.

  • cExpression
    Specifies a character string that is written to the property sheet as an expression.

Remarks

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

See Also

Reference

ReadExpression Method

Other Resources

Methods (Visual FoxPro)

Language Reference (Visual FoxPro)