Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我为 Word 表单编写了一个简单的列表框。我写了这个简单的代码:
Private Sub ListBox1_Click() Me.ListBox1.AddItem "ZZ" Me.ListBox1.AddItem "yy" End Sub
列表框工作,但我有一个问题:因为这个文件是一个表单,我需要编写什么代码来保存用户选择的项目?
Me.ListBox1.Value将返回在 ListBox 控件中选择的值。
Me.ListBox1.Value
At the console.log line in the render method below, it shows that this.member instance is exactly what it should be. So member object is good. I've spit out the string in tpl and it'