取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Discussions

Solve problems, and share tips and tricks with other JMP users.
选择语言 隐藏翻译栏
lala
Level IX

如何用脚本调整数据表中左面板及行号面板的宽度及脚本面板的高度?

大家好!

如何用脚本调整数据表中左面板及行号面板的宽度及脚本面板的高度?

谢谢!

2022-03-27_15-56-36.png

1 个已接受解答

已接受的解答
jthi
Super User

回复: 如何用脚本调整数据表中左面板及行号面板的宽度及脚本面板的高度?

I think that SplitterBox doesn't control the height. You can try to test this with

sp << get xml

and maybe see which values to change (if they can be changed)

jthi_0-1648458251508.png

 

Row "column" width can be adjusted with

dt << Set Row ID Width(15);

Search scripting index for DataBrowserBox for possibly more suggestions

-Jarmo

在原帖中查看解决方案

5 条回复5
lala
Level IX

回复: 如何用脚本调整数据表中左面板及行号面板的宽度及脚本面板的高度?

我在脚本搜索中没有得到答案。

2022-03-27_16-02-37.png

lala
Level IX

回复: 如何用脚本调整数据表中左面板及行号面板的宽度及脚本面板的高度?

我搜索了社区、看到了这个答案。

但也只是能调整左面板的宽度。

不知道如何能调整它的高度。

 

用脚本来改变行号面板的宽度还是没有答案。

lala
Level IX

回复: 如何用脚本调整数据表中左面板及行号面板的宽度及脚本面板的高度?

dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
Wait( 0 );
window = Get Window( dt );
sp = window << Find( SplitterBox( 1 ) );
sp << Set Width( 65 );
lala
Level IX

回复: 如何用脚本调整数据表中左面板及行号面板的宽度及脚本面板的高度?

It no work.

sp << Set height ( 200 );
jthi
Super User

回复: 如何用脚本调整数据表中左面板及行号面板的宽度及脚本面板的高度?

I think that SplitterBox doesn't control the height. You can try to test this with

sp << get xml

and maybe see which values to change (if they can be changed)

jthi_0-1648458251508.png

 

Row "column" width can be adjusted with

dt << Set Row ID Width(15);

Search scripting index for DataBrowserBox for possibly more suggestions

-Jarmo

推荐文章