Unselecting Row in ListBox

  • Thread starter Thread starter JamesJ
  • Start date Start date
J

JamesJ

I have 3 ListBoxes on a form. When I click on a
row in one ListBox I want to unselect any row
that might be selected in the other ListBoxes.

Thanks,
James
 
James

Are you saying that when ListBox3 gets the focus, you want ListBox1 and
ListBox2 to have nothing selected?

If so, look into adding an event procedure in ListBox3's GotFocus event,
setting ListBox1 and ListBox2 to Null.
 
Yes and it worked like a charm.

Thanks,
James

Jeff Boyce said:
James

Are you saying that when ListBox3 gets the focus, you want ListBox1 and
ListBox2 to have nothing selected?

If so, look into adding an event procedure in ListBox3's GotFocus event,
setting ListBox1 and ListBox2 to Null.

--
Regards

Jeff Boyce
<Office/Access MVP>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top