Rebol 编程/reset-face
外观
< Rebol 编程
RESET-FACE face /no-show
重置面的主要值。
RESET-FACE 是一个函数值。
- face -- (类型:任何)
- /no-show -- 暂不显示更改
reset-face: func [
"Resets the primary value of a face."
face
/no-show "Do not show change yet"
/local access
][
if all [
access: get in face 'access
in access 'reset-face*
] [
access/reset-face* face
]
if not no-show [show face]
face
]