以文本方式查看主题 - Foxtable(狐表) (http://foxtable.com/bbs/index.asp) -- 专家坐堂 (http://foxtable.com/bbs/list.asp?boardid=2) ---- [求助]ComboBox的初始值如何代码设定? (http://foxtable.com/bbs/dispbbs.asp?boardid=2&id=91408) |
-- 作者:fuucc -- 发布时间:2016/10/10 11:47:00 -- [求助]ComboBox的初始值如何代码设定? Dim cmb As WinForm.ComboBox cmb = Forms("修改用户").Controls("ComboBox1") cmb.ComboList = "aa|bb|cc" 请问如何设定初始选定值,比如想初始选中bb
|
-- 作者:有点蓝 -- 发布时间:2016/10/10 12:00:00 -- Dim cmb As WinForm.ComboBox cmb = Forms("修改用户").Controls("ComboBox1") cmb.ComboList = "aa|bb|cc" cmb.Text = “bb”
|
-- 作者:fuucc -- 发布时间:2016/10/10 15:31:00 -- 谢谢 |