Note the size of the data window PB adaptive manner

1, the window size setting data attributes in the OPEN event

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

 

2, New resize () in the upper window control or data window in the event the current data set window size

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

 

Guess you like

Origin www.cnblogs.com/Bokeyan/p/11454280.html