Re: Best way to drag and drop ?




"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.



.



Relevant Pages

  • Re: overlapping TK GUI
    ... button that if pressed launches a GUI program written in Delphi. ... This causes the Tcl/Tk application to 'hang' while the DelphiApplication ... grab release .nowhere ...
    (comp.lang.tcl)
  • Re: help a beginner decide
    ... > or goal in mind. ... I heard VB.net is a very easy language and is popular in the general ... getting your feet wet -- I highly recommend Delphi, ... it's not ugly when you try to get up under the gui ...
    (comp.programming)
  • Re: We need Grasshopper for Delphi!!
    ... COM. Delphi GUI client can also access J2ME on embedded devices. ... Java is able to access Delphi component or even ...
    (borland.public.delphi.non-technical)
  • Re: A suggestion regarding all these cross-platform, Kylix, Lazarusposts...
    ... IMO one problem are the different GUI libraries, ... much easier this is accomplished in "the Delphi way". ... GUI design capabilities. ... because there the widgetset native control determines the true size. ...
    (borland.public.delphi.non-technical)
  • Re: Should i leran delphi instead?
    ... The current version of Delphi *is* or claim to be the only non .Net IDE to ... > number of dollars for an extremely sexy GUI interface written in VB. ... No database interface, no network connectivity. ... > they run in that they cannot support anything else, ...
    (microsoft.public.vc.mfc)