Selection box

  • Thread starter Thread starter David A. Osborn
  • Start date Start date
D

David A. Osborn

Does anyone know how to do a typical left click and drag selection box? I'm
looking to be able to highlight groups of objections on a form.
 
One way of doing this is to make a rectangle and check which controls are in
it. When the left mouse botton is pressed and held store the cursor
position. When it is released get the cursor position and create a
rectangle from the two positions. You can then check which controls fall
within this rectangle.

--Robby
 

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

Back
Top