Foxtable(狐表)用户栏目专家坐堂 → 窗口中数值复合框不可以相互运算吗


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

主题:窗口中数值复合框不可以相互运算吗

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


加好友 发短信
等级:狐神 帖子:6708 积分:34304 威望:0 精华:11 注册:2012/8/18 23:10:00
  发帖心情 Post By:2012/12/19 16:03:00 [显示全部帖子]

 报什么错?这样试试。

Dim htsl As WinForm.NumericComboBox = e.Form.Controls("NumericComboBox1")
Dim htdj As WinForm.NumericComboBox = e.Form.Controls("NumericComboBox2")
Dim htze As WinForm.Label = e.Form.Controls("Label8")
If htsl.Text <> "" AndAlso htdj.Text <> "" Then
    htze.Text = htdj.Text * htsl.Text
End If


 回到顶部