sub dynamic_Load() //框架加載時判定時間然后設立計時器
if time>"15:50:00" then
call application.SetTimer(0,5000)
end if
end sub
sub dynamic_Close() //框架關閉時消除計時器
application.KillTimer(0)
application.ClearMsg
end sub
Sub APPLICATION_Timer(ID)
if ID=0 then
set Grid = dynamic.activegrid
set reportdata = Grid.GetReportData
price = reportdata.newprice
call Grid.DRAWTEXT(100, 100,price,vbGreen)
application.MsgOut price
end if
End Sub