1、在OPEN 事件中设置数据窗口大小属性

tab_1.tabpage_6.dw_6.x=0
tab_1.tabpage_6.dw_6.y=0
tab_1.tabpage_6.dw_6.width=this.workspacewidth()-940
tab_1.tabpage_6.dw_6.height=this.workspaceheight()-270

PB笔记之数据窗口大小自适应的方式

 

2、在数据窗口的上层控件或窗口中新建resize() 事件设置当前数据窗口大小

dw_5.height = this.height - 10
dw_5.width = this.width - 10

PB笔记之数据窗口大小自适应的方式

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-02-05
  • 2021-07-16
  • 2022-01-05
猜你喜欢
  • 2021-05-20
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-03-12
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案