🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.swing
Article #10537

Re: GridControl as drop target..

#10537
From: EA.
Date: Sun, 05 Sep 1999 00:00
27 lines
1585 bytes
Thanks Paul, I actually got it to work!
I gave up on it first and didn't bother since then but I thought I'll
give it another hour today and here she goes!
All I did is the following:
gridControl1.getCoreComponent().setDropTarget(new
DropTarget(gridControl1.getCoreComponent(),DnDConstants.ACTION_COPY_OR_MOVE,DropComp));

where DropComp is a class that implements DropTargetListener interface
and that's
it!!

"Paul Furbacher [TeamB]" wrote:

> Tad Frysinger wrote:
> >
> > I think you are exactly right, Paul.
>
> And that isn't good news, per se, since it will be a bit
> of work to integrate drag-and-drop into the GridCore.
>
> It's amazing that I was dragging and dropping on
> the Mac nearly 15 years ago, now, and here we are
> with all this advanced OO stuff, and we can't "just do it".
>
> That's progress for you.
>
> PF  (TeamB)
Technical Details
Message-ID: <37D26AAA.1803BE54@magnus.uwaterloo.ca>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <37B18754.CD1D6F5C@magnus.uwaterloo.ca> <37B420FA.9141763B@bilbo.bio.purdue.edu> <MPG.12260f4f4a23c5bd98968c@forums.borland.com> <37BC94DD.16174085@bilbo.bio.purdue.edu>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,6d04385e4cc36a3f
X-Google-Attributes: gid111d45,public
From: "EA." <eaabouzo@magnus.uwaterloo.ca>
Subject: Re: GridControl as drop target..
Date: 1999/09/05
Message-ID: <37D26AAA.1803BE54@magnus.uwaterloo.ca>
X-Deja-AN: 521493746
Content-Transfer-Encoding: 7bit
References: <37B18754.CD1D6F5C@magnus.uwaterloo.ca> <37B420FA.9141763B@bilbo.bio.purdue.edu> <MPG.12260f4f4a23c5bd98968c@forums.borland.com> <37BC94DD.16174085@bilbo.bio.purdue.edu>
X-Accept-Language: en
Content-Type: text/plain; charset=us-ascii
Organization: Ambiance
Mime-Version: 1.0
Reply-To: eaabouzo@magnus.uwaterloo.ca
Newsgroups: borland.public.jbuilder.java.swing