< Rebol Programming
USAGE:
HIDE-POPUP /timeout
DESCRIPTION:
(undocumented)
HIDE-POPUP is a function value.
REFINEMENTS
- /timeout
SOURCE CODE
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
]
This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.