How to bound an unbound listbox

  • Thread starter Thread starter Kevin Mayer
  • Start date Start date
K

Kevin Mayer

Could anyone tell me the syntax to bound an unbound listbox to a textbox
control on my form by VBS?

This is what I have:

On open I have a listbox that is populated with an array (which works just
fine) and is option/multi select for the listbox. What I want to be able to
do is when the item is selected in the list box, the result is put into a
textbox that is also unbound.

Thanks in advance

Kevin
 
hope this helps
Sub ComboBox1_Click()
Set ComboBox1= Item.GetInspector.ModifiedFormPages
("Message").ComboBox1
Set TextBox1= Item.GetInspector.ModifiedFormPages
("Message").TextBox1
TextBox1.Text = ComboBox1.List(ComboBox1.ListIndex)
End Sub
 
Back
Top