跳轉到內容

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
]
華夏公益教科書