DoMenuCommand 方法示例

下列示例举例示范调度TestSchedule 的“新定时器”对话框,就像用户已经在“插入”菜单中选择了“添加新定时器输入”那样。

TestSchedule.DoMenuCommand schNewTimer

Event对象MyEvent 已从调度TestSchedule中删除后,下列示例刷新调度

TestSchedule.RemoveObject "MyEvent"

TestSchedule.DoMenuCommand scHREFreshView

 

您最近了解过 iFIX 吗 ?

查看最新版 iFIX 的所有新功能。

让 iFIX 帮助您提高效率,降低成本。