跳转到内容

Rebol 编程/隐藏弹出窗口

来自维基教科书,开放世界中的开放书籍
HIDE-POPUP /timeout 

(未记录)

HIDE-POPUP 是一个函数值。

  • /超时

源代码

[编辑 | 编辑源代码]
hide-popup: func [/timeout /local win-face][
    if not find pop-list pop-face [exit] 
    win-face: any [pop-face/parent-face system/view/screen-face] 
    remove find win-face/pane pop-face 
    remove back tail pop-list 
    if timeout [pop-face: pick pop-list length? pop-list] 
    show win-face
]
华夏公益教科书