View Single Post
  #13   Report Post  
Posted to microsoft.public.excel.programming
NickHK NickHK is offline
external usenet poster
 
Posts: 4,391
Default Detecting scrolling in listboxes

There are many aspects that could have been exposed at all levels for
controls, components and applications compared to what is actually happening
in Windows.
It's up to you to deal with those limitations or expand on them yourself.

Yes, you can use (most) ActiveX controls.

As a quick example, I've made a custom control that exposes the Scroll event
with an .Add method and Let/Get .TopIndex property. That's all at the
moment.
Let me know your email and I'll send it to you, to see if it really does
make that much difference .

NickHK


"MrT" wrote in message
...
Dave,

Thanks for your reply. I used another solution that is intermediate, and
fine although not totally satisfactory. The listboxes are only

synchronized
when the user moves the mouse over one of the two listboxes.

Maybe you could build your own listbox using textboxes and scrollbars???


Sure, but that's heavy, and I wonder why the developers of Excel did not
create an event related to scrolling in listboxes and textboxes.

Or maybe you can find a different control (google???) that you can

purchase(?),
use, and distribute???


I didn't know that controls from third parties are available. Do you know
some?

Or maybe you could use a multicolumn listbox so you don't need to use a

second
listbox?


I'm using 2 listboxes, because I want to have 2 checkboxes for each item
(one listbox is overlapping on the other).

Cheers,

MrT