FieldHint

FieldHint

InputField 的一个选项,指定当输入栏为空时,所要显示的内容.

更多信息

  • 选项设置 Null 禁用信息栏提示.
  • 信息栏提示不能被选中,并且只要键盘输入移到输入栏时,它将会消失.
  • 信息栏的默认样式以较浅的颜色显示,这样它们不会跟用户输入混淆.
  • 信息栏提示的样式由除了输入栏的常规样式之外所运用的选项 FieldHintStyle 确定.

范例

基本范例  (1)

对一个输入栏添加鬼影内容(ghost content):

Wolfram Research (2010),FieldHint,Wolfram 语言函数,https://reference.wolfram.com/language/ref/FieldHint.html.

文本

Wolfram Research (2010),FieldHint,Wolfram 语言函数,https://reference.wolfram.com/language/ref/FieldHint.html.

CMS

Wolfram 语言. 2010. "FieldHint." Wolfram 语言与系统参考资料中心. Wolfram Research. https://reference.wolfram.com/language/ref/FieldHint.html.

APA

Wolfram 语言. (2010). FieldHint. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/ref/FieldHint.html 年

BibTeX

@misc{reference.wolfram_2024_fieldhint, author="Wolfram Research", title="{FieldHint}", year="2010", howpublished="\url{https://reference.wolfram.com/language/ref/FieldHint.html}", note=[Accessed: 18-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_fieldhint, organization={Wolfram Research}, title={FieldHint}, year={2010}, url={https://reference.wolfram.com/language/ref/FieldHint.html}, note=[Accessed: 18-November-2024 ]}