Foxtable(狐表)用户栏目专家坐堂 → [求助]控件挡住菜单


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

主题:[求助]控件挡住菜单

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


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

za_nb_addformctrol函数

    For Each dr3 As DataRow In drs2
        Dim lb As WinForm.Label = forms(frmname).Controls("lb_" & dr3("tblcolid"))
        Dim kj As WinForm.control = forms(frmname).Controls("kj_" & dr3("tblcolid"))
        kj.Enabled=DataTables(dr3("tbltname")).AllowEdit
        lb.top = 3+(i\tet)*h + 30
        lb.AutoSize = True
        If dr3("nonull")=True Then
            lb.ForeColor= Color.Red
        End If
        lb.left = iif(i Mod tet = 0, 5, w*(i Mod tet))
        lb.text = dr3("poutcaption").padright(len-dr3("poutcaption").length) & ":"
        kj.top = 3+(i\tet)*h + 30
        'kj.left = iif(i Mod tet = 0, 5, w*(i Mod tet)) + lablen
        kj.left = iif(i Mod tet = 0, 5, w*(i Mod tet)) +lb.width
        kj.width=150
        i += 1
    Next

 回到顶部