Link to home
Start Free TrialLog in
Avatar of tonelm54
tonelm54

asked on

Select Objects

Im not sure if this is possible, or if I need to look at looking at positions of elements, but is it possible to select objects by drawing around them in run time?

What Im looking for is a way of having a form with several textboxes and/or labels, and detecting all the objects that have been selected inside the selection box?

Is this possible easily, or do I need to detect mouse down event and mouse up, and then look at each object for its position to see if its inside the selection box?

Thanks in advance for any advice :-)
Avatar of Mike Tomlinson
Mike Tomlinson
Flag of United States of America image

It's possible...but is this WinForms or WebForms?
Avatar of tonelm54
tonelm54

ASKER

WinForms

I don't think its possible using WinForms, without some MAD javascript
ASKER CERTIFIED SOLUTION
Avatar of Mike Tomlinson
Mike Tomlinson
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Sorry, I meant the other way around!

What I meant to say was:-
WinForms

I don't think its possible using WebForms, without some mad javascript
That makes more sense now!  =)