Rebol Programming/unfocus

From Wikibooks, open books for an open world
< Rebol Programming
Jump to navigation Jump to search

USAGE:[edit | edit source]


DESCRIPTION:[edit | edit source]

Removes the current key event focus.

UNFOCUS is a function value.

SOURCE CODE[edit | edit source]

unfocus: func [
    "Removes the current key event focus." 
    /local tmp-face
    tmp-face: focal-face 
    focal-face: none 
    caret: none 
    if tmp-face [show tmp-face]