跳转到内容

The Wikibooks community is developing a policy on the use of generative AI. Please review the draft policy and provide feedback on its talk page.

Rebol 编程/unfocus

来自

用法

[编辑 | 编辑源代码]
UNFOCUS 

描述

[编辑 | 编辑源代码]

移除当前键盘事件焦点。

UNFOCUS 是一个函数值。

源代码

[编辑 | 编辑源代码]
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]
]
华夏公益教科书