Foxtable(狐表)用户栏目专家坐堂 → [求助] 按钮可以调用点击效果


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

主题:[求助] 按钮可以调用点击效果

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


加好友 发短信
等级:六尾狐 帖子:1347 积分:9817 威望:0 精华:0 注册:2015/6/30 8:46:00
[求助] 按钮可以调用点击效果  发帖心情 Post By:2016/9/6 16:18:00 [显示全部帖子]

按钮可以调用点击效果,ComboBox 控件,怎么调用它的Click Doubleclick 和textchange命令

Dim btn As WinForm.Button = e.Form.Controls("But明细筛选")
Dim dd As WinForm.ComboBox = e.Form.Controls("订单编号")
btn.PerformClick



 回到顶部
帅哥哟,离线,有人找我吗?
2900819580
  2楼 | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信
等级:六尾狐 帖子:1347 积分:9817 威望:0 精华:0 注册:2015/6/30 8:46:00
  发帖心情 Post By:2016/9/6 17:25:00 [显示全部帖子]

这样的代码怎么改自定义函数。。。。。。。

Dim dt As DataTable = DataTables("订单明细")
Dim dd As WinForm.ComboBox = e.Form.Controls("订单编号")
Dim bp As WinForm.ComboBox = e.Form.Controls("客户品牌")
Dim cb As WinForm.ComboBox = e.Form.Controls("产品型号")
Dim gg As WinForm.ComboBox = e.Form.Controls("产品规格")

Dim gb As WinForm.CheckBox = e.Form.Controls("ChK关闭")
Dim cs As WinForm.CheckBox = e.Form.Controls("ChK取消")
Dim wc As WinForm.CheckBox = e.Form.Controls("ChK完成")
Dim fi As String = "完成 = " & wc.Checked & " and 关闭 = " & gb.Checked & " and 取消 = " & cs.Checked
Dim tb As Table = Tables("排产汇总_Tab订单明细")

'If dd.Text > "" Then fi = fi & " and " & "订单编号 like '%" & dd.Text & "%'"
If bp.Text > "" Then fi = fi & " and " & "客户品牌 like '%" & bp.Text & "%'"
If cb.text > "" Then fi = fi & " and " & "产品名称 like '%" & cb.text & "%'"
If gg.Text > "" Then fi = fi & " and " & "产品规格 like '%" & gg.text & "%'"

dd.ComboList = dt.GetComboListString("订单编号",fi)

 回到顶部