ScrollPosition

ScrollPosition

Pane 的一个选项,用来指定内容的滚动位置.

更多信息

  • ScrollPosition->{h,v} 指定面板内容中位于水平和垂直位置 h, v 的点应出现在面板左上角. hv 以点进行计量.
  • 垂直坐标是从内容的顶部开始,向下测量.
  • ScrollPosition 的设置可以是 Dynamic 对象.

范例

基本范例  (1)

缺省下,滚动条的位置出现在内容的左上方:

指定滚动条的初始位置:

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

文本

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

CMS

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

APA

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

BibTeX

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

BibLaTeX

@online{reference.wolfram_2024_scrollposition, organization={Wolfram Research}, title={ScrollPosition}, year={2008}, url={https://reference.wolfram.com/language/ref/ScrollPosition.html}, note=[Accessed: 22-November-2024 ]}