Click to See Complete Forum and Search --> : i cant get this one....


December 17th, 1999, 03:10 PM
two listboxes have the same contents
how can i make it so when someone clicks on one, it automatically effects the other in the same way?
the first listbox being a regular listbox, the second one being a dirlistbox

pavan_raut
December 18th, 1999, 09:24 AM
trap the click event of the normal listbox on which you handle the code for the Dirlistbox.and on any changes in dirlistbox set the focus back to the normal listbox.click event of listbox fires when LISTINDEX is changed so you can easily handle changes in any of them.

Pavan