How to 'unselect' a row in a Listbox ?

  • Thread starter Thread starter Ryan
  • Start date Start date
R

Ryan

I have a form with selection criteria combo boxes at the
top and a listbox below to show results. At the bottom are
command buttons that must only be enabled when a listbox
item is selected.
If I select a listbox item, then change my selection
criteria and refresh the listbox, I disable the command
buttons, however the previously selected row remains
selected. How do I 'unselect this row'? Each time the
button is pressed to refresh the listbox, I want to
disable the command buttons and remove any previous
selection.
 
Back
Top