< Rebol Programming

USAGE:

UNFOCUS 

DESCRIPTION:

Removes the current key event focus.

UNFOCUS is a function value.

SOURCE CODE

unfocus: func [
    "Removes the current key event focus." 
    /local tmp-face
][
    tmp-face: focal-face 
    focal-face: none 
    caret: none 
    unlight-text 
    if tmp-face [show tmp-face]
]
This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.