当前位置: 代码迷 >> PB >> 怎么定时关闭和打开一组窗体
  详细解决方案

怎么定时关闭和打开一组窗体

热度:9   发布时间:2016-04-29 08:20:26.0
如何定时关闭和打开一组窗体
同上

------解决方案--------------------
timer事件代码参考

if string( now, 'hh:mm:ss' ) > '09:00:00' then
if not isvalid(w_1) then
open(w_1)
end if
end if

if string( now, 'hh:mm:ss' ) > '12:00:00' then
if isvalid(w_1) then
close(w_1)
end if
end if

窗口的open
timer(1)
  相关解决方案