Is it true that ListBox does not select on MouseDown

  • Thread starter Thread starter active
  • Start date Start date
A

active

I think I found in VB6 that when mousedown occurs the item is highlighted
but it is not selected until MouseUp.

I believe that may be happening in VB.NET also.

Anyone have any info pro or con?



Has anyone dragged out of a ListBox? Just knowing you didn't have to do
anything special would be helpful.


Thanks
Cal
 
Correct, it happens on MouseUp, if you dont do this you willl run into
trouble.

OHM
 
What kind of trouble?

How can I drag if I don't know what is being selected?

Thanks for this and your other reply
Cal
 
Maybe setting AllowDrop to True will help you out? I've never used drag and
dropping so I'm not certain it will do anything.

Andrew
 
Yes, AllowDrapDrop is required, but you need to use other events like
beginDrag etc. There are examples somewhere in the help.

Regards OHM

Andrew said:
Maybe setting AllowDrop to True will help you out? I've never used
drag and dropping so I'm not certain it will do anything.

Andrew

Regards - OHM# OneHandedMan{at}BTInternet{dot}com
 
Back
Top