当前位置: 代码迷 >> PB >> 窗口中timer事件解决方法
  详细解决方案

窗口中timer事件解决方法

热度:342   发布时间:2016-04-29 10:39:46.0
窗口中timer事件
在一个窗口中可否有多个timer事件 ,
并且触发的时间不一样

------解决方案--------------------
导入下面的uo_timing对象
C/C++ code
$PBExportHeader$uo_timing.sruforwardglobal type uo_timing from timingend typeend forwardglobal type uo_timing from timingend typeglobal uo_timing uo_timingtype variableswindow iw_userend variableson uo_timing.createcall super::createTriggerEvent( this, "constructor" )end onon uo_timing.destroyTriggerEvent( this, "destructor" )call super::destroyend onevent timer;iw_user.TrigGerEvent("timer2")end event
  相关解决方案