Condividi tramite


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.

See Also

SaveAs Method | SaveAsClass Method

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