Listbox remains highlighted but not desired behavior

  • Thread starter Thread starter OMS
  • Start date Start date
O

OMS

Hi,

I hope this makes sense to some one here.

I have three list boxes on a form. lstReportName, lstTime and lstBatch. A
click event shows the next box and allows you to choose.
Let's say you click on Report1, that shows lstTime and you click 6AM. But
before you run it you change you mind and decide you want Report2, you click
that and you see 6AM and 11AM but the 6AM is still highlighted. I want them
to be un-highlighted once you've made another choice as it was in the
beginning.

How can I stop this behavior?

Thanks in advance.
 
OMS said:
Hi,

I hope this makes sense to some one here.

I have three list boxes on a form. lstReportName, lstTime and lstBatch. A
click event shows the next box and allows you to choose.
Let's say you click on Report1, that shows lstTime and you click 6AM. But
before you run it you change you mind and decide you want Report2, you
click that and you see 6AM and 11AM but the 6AM is still highlighted. I
want them to be un-highlighted once you've made another choice as it was
in the beginning.

How can I stop this behavior?

Thanks in advance.

In the Click event of lstReportName, "clear" the lstTime listbox:

lstTime = Null

Carl Rapson
 
Back
Top