Re: Best way to drag and drop ?
- From: "Skybuck Flying" <spam@xxxxxxxxxxx>
- Date: Sat, 28 Oct 2006 14:58:55 +0200
"TJeanneret" <tjeanneret@xxxxxxxxx> wrote in message
news:454216d2$0$5078$ba4acef3@xxxxxxxxxxxxxxxxx
Hello Everybody,
I am designing a GUI that works mainly by dragging/dropping "clever"
objects. I am seeking the "best way" to implement it by using Delphi.
Could someone give me any clue on the most efficient way to handle between
500 - 1000 objects on the interface, allowing the user to chose one and
act on it ?
I don't know :
- How I can make my obects appear on the interface (are they individually
drawn, or everything is it implemented in some "draw" method ?)
- How an object will know when it will be selected and moved (the OnDrag
/drop methods ?)
Thanks in advance for any bit of info,
Thierry
Read the help about drag and drop. It's quite simply really.
I am not sure how it will perform with thousands of objects on the screen.
Any gui would probably slow down quite a lot.
Anyway components also have some properties which can be set to make them
auto accept other objects.
Can't remember the property name at the moment, I am sure you ll be able to
figure it out real fast ;)
Play around a bit to figure out how it works on a small scale and then try
it on a big scale ;)
Bye,
Skybuck.
.
- Follow-Ups:
- Re: Best way to drag and drop ?
- From: TJeanneret
- Re: Best way to drag and drop ?
- References:
- Best way to drag and drop ?
- From: TJeanneret
- Best way to drag and drop ?
- Prev by Date: Re: Best way to drag and drop ?
- Next by Date: Re: Best way to drag and drop ?
- Previous by thread: Re: Best way to drag and drop ?
- Next by thread: Re: Best way to drag and drop ?
- Index(es):
Relevant Pages
|