InputField,PopupMenuおよび関連関数のオプションで,入力や内容に許容されるフィールドの大きさを指定する.
FieldSize
InputField,PopupMenuおよび関連関数のオプションで,入力や内容に許容されるフィールドの大きさを指定する.
例題
すべて開く すべて閉じる例 (4)
InputFieldに定義済みの大きさを使う:
Table[InputField[Null, FieldSize -> f], {f, {Tiny, Small, Medium, Large}}]InputField[123, Number, FieldSize -> 2]PopupMenuに定義済みの大きさを使う:
Table[PopupMenu[1, Range[5], FieldSize -> f], {f, {Tiny, Small, Medium, Large}}]PopupMenu[1, Range[5], FieldSize -> 2]特性と関係 (1)
FieldSizeはFieldHintStyleとBaseStyleの両方を使ってInputFieldの大きさを決める:
InputField["", String, FieldHint -> "Input...", FieldHintStyle -> {12}, BaseStyle -> {24}]InputField["abc", String, FieldHint -> "Input...", FieldHintStyle -> {24}, BaseStyle -> {12}]関連項目
テクニカルノート
-
▪
- 一般化された入力
関連するガイド
テキスト
Wolfram Research (2007), FieldSize, Wolfram言語関数, https://reference.wolfram.com/language/ref/FieldSize.html.
CMS
Wolfram Language. 2007. "FieldSize." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/FieldSize.html.
APA
Wolfram Language. (2007). FieldSize. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/FieldSize.html
BibTeX
@misc{reference.wolfram_2026_fieldsize, author="Wolfram Research", title="{FieldSize}", year="2007", howpublished="\url{https://reference.wolfram.com/language/ref/FieldSize.html}", note=[Accessed: 04-September-2026]}
BibLaTeX
@online{reference.wolfram_2026_fieldsize, organization={Wolfram Research}, title={FieldSize}, year={2007}, url={https://reference.wolfram.com/language/ref/FieldSize.html}, note=[Accessed: 04-September-2026]}