Foxtable(狐表)用户栏目专家坐堂 → add input 样式设置


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

主题:add input 样式设置

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


加好友 发短信
等级:一尾狐 帖子:400 积分:3511 威望:0 精华:0 注册:2014/1/8 17:12:00
add input 样式设置  发帖心情 Post By:2020/4/6 8:39:00 [只看该作者]

With wb.AddInputGroup("form1","ipg1","信息")
    .Class = "inputt"
    .Attribute = "style = 'color:#0000FF;fot-weight:900;'"
    .AddInput("aa","货号","text")
     
    With .AddInput("bb","号码","text")
        .Value = 12345
        .Readonly= True
    End With

    标红的部分,可以单独设置样式吗,字体颜色,如果可以,应该怎么写。
End With


 回到顶部
帅哥,在线噢!
有点蓝
  2楼 | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信
等级:超级版主 帖子:105943 积分:538784 威望:0 精华:9 注册:2015/6/24 9:21:00
  发帖心情 Post By:2020/4/6 10:16:00 [只看该作者]

比如
    With .AddInput("bb","号码","text")
        .Value = 12345
        .Readonly= True
.Attribute = "style = 'color:red;font-size:20px;'"
    End With

 回到顶部