Partager via


CloneObject Method

Duplicates an object, including all the object's properties, events, and methods. Available only at design time.

Object.CloneObject(NewName)

Parameters

  • NewName
    Specifies the name of the new, or duplicate, object.

Remarks

Applies To: CheckBox Control | ComboBox Control | CommandButton Control | CommandGroup Control | Custom Object | EditBox Control | Grid Control | Image Control (Visual FoxPro) | Label Control (Visual FoxPro) | Line Control | ListBox Control | OLE Bound Control | OLE Container Control | OptionButton Control | OptionGroup Control | Page Object | PageFrame Control | Shape Control | Spinner Control | TextBox Control (Visual FoxPro) | Timer Control | ToolBar Object

See Also

Reference

SaveAs Method (Visual FoxPro)

SaveAsClass Method

Other Resources

Methods (Visual FoxPro)

Language Reference (Visual FoxPro)