RemoveObject Method Example

The following example removes the Timer object MyTimer from the Schedule TestSchedule and then refreshes the Schedule so that the Timer object is no longer displayed.

TestSchedule.RemoveObject "MyTimer"

TestSchedule.DoMenuCommand scHREFreshView