Foxtable(狐表)用户栏目专家坐堂 → 特定行的网格线?


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

主题:特定行的网格线?

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


加好友 发短信
等级:超级版主 帖子:112401 积分:572273 威望:0 精华:9 注册:2015/6/24 9:21:00
  发帖心情 Post By:2018/8/20 10:32:00 [显示全部帖子]

Dim r As Row
For i As Integer = 0 To Tables("订单").Rows.Count(True) - 1
    r = Tables("订单").Rows(i,True)
    If r.IsGroup
        Dim cs1 As C1.Win.C1FlexGrid.CellStyle = CurrentTable.Grid.Styles.Add("Borderline")
        Dim rng As C1.Win.C1FlexGrid.CellRange = CurrentTable.Grid.GetCellRange(i+1,1, i+1,Tables("订单").Cols.Count) 
        cs1.backcolor = color.yellow
        cs1.forecolor = color.red
        cs1.Border.Color = color.red
        cs1.Border.Direction = 1
        rng.style = cs1
    End If
Next

 回到顶部