Foxtable(狐表)用户栏目专家坐堂 → 甘特图改进问题?


  共有3427人关注过本帖树形打印复制链接

主题:甘特图改进问题?

帅哥哟,离线,有人找我吗?
逛逛
  1楼 | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信
等级:版主 帖子:1693 积分:12123 威望:0 精华:7 注册:2013/7/11 10:52:00
  发帖心情 Post By:2014/7/4 17:46:00 [显示全部帖子]

试试   写在表格的 AfterResizeRow 事件里

 

 

表格1

 

Dim tb1 As Table = e.Form.Controls("Table1").Table
Dim tb2 As Table = e.Form.Controls("Table2").Table

If e.Position < 0 Then
    tb2.Grid.Rows(0).Height = tb1.Grid.Rows(0)

    tb2.Grid.Rows(1).Height = tb1.Grid.Rows(1)

Else
    tb2.DefaultRowHeight = tb1.DefaultRowHeight

 

End If

 

 

表格2

Dim tb1 As Table = e.Form.Controls("Table1").Table
Dim tb2 As Table = e.Form.Controls("Table2").Table

If e.Position < 0 Then
     tb1.Grid.Rows(0).Height = tb2.Grid.Rows(0).Height

     tb1.Grid.Rows(1).Height =  tb2.Grid.Rows(1).Height
Else
    tb1.DefaultRowHeight = tb2.DefaultRowHeight

End If


 回到顶部