首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 开发语言 > PB >

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

2012-05-02 
如何定时关闭和打开一组窗体同上[解决办法]timer事件代码参考if string( now, hh:mm:ss ) 09:00:00

如何定时关闭和打开一组窗体
同上

[解决办法]
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)

热点排行