Is it true that ListBox does not select on MouseDown

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
 
O

One Handed Man

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

OHM
 
A

active

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
 
A

Andrew Christiansen

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
 
O

One Handed Man [ OHM# ]

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top