⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 数据窗口的某几列在其他列横拉时固定不动.txt

📁 PB常用技巧 PB常用技巧 PB常用技巧
💻 TXT
字号:
如何能让数据窗口的某几列在其他列横拉时固定不动
      //////////////////////////////////////////////////////////////// 
//  功能说明:用于冻结左边的滚动栏 
//  变更记录: 变更或版本更新的时候 
//   
//////////////////////////////////////////////////////////////// 
int i 
if pane = 1 then 
i = integer(this.o b j e c t.datawindow.horizontalscrollposition2) 
if i < 1 or isnull(i) then return 
if scrollpos > 0 then 
this.o b j e c t.datawindow.horizontalScrollPosition = 0 
end if 
else 
i = integer(this.Object.DataWindow.HorizontalScrollSplit) 
if i < 1 or isnull(i) then return 
if i > scrollpos then 
this.o b j e c t.datawindow.horizontalScrollPosition2 = i 
end if 
end if

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -