Last modified on 27 October 2012, at 22:07

REBOL Programming/hide-popup

USAGE:Edit

HIDE-POPUP /timeout 

DESCRIPTION:Edit

(undocumented)

HIDE-POPUP is a function value.

REFINEMENTSEdit

  • /timeout

SOURCE CODEEdit

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
]