RemoveObject Method
Removes a specified object from a container object at run time.
Object.RemoveObject(cObjectName)
Parameters
- cObjectName
Specifies the name of an object to remove. If the object does not exist, an error occurs.
Remarks
When an object is removed, it disappears from the screen and can no longer be referenced.
See Also
AddObject Method | RemoveItem Method | RemoveListItem Method
Applies To: Column Object | CommandGroup Control | Container Object | Custom Object | DataEnvironment Object | Form Object | FormSet Object | Grid Control | OptionGroup Control | Page Object | PageFrame Control | _SCREEN System Variable | ToolBar Object