Removes the specified item from the collection. | |
Syntax: | object.Remove IndexOrName |
Parameters: |
Optional IndexOrName As VARIANT -
|
Description: | The GefObjects collection support access by
index number or name. The objects are sorted by z-order (0 on the
bottom, Count-1 on the top). Example: Sub Gefobjects_Remove() Dim oCimScr As GefScreen Dim oCimObjs As GefObjects Set oCimScr = CimGetScreen Set oCimObjs =
oCimScr.Object.Objects oCimObjs.Remove 0 oCimScr.Refresh False End Sub |