🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

GridControl as drop target..

#10802
From: EA.
Date: Wed, 11 Aug 1999 00:00
20 lines
1238 bytes
I'm trying to create a DropGridControl class which extends GridControl
class with
added drop capabilities.. i.e. you can drag from a JTree and drop into
my
DropGridControl.

Problem: You can ONLY drop when the tip of the mouse cursor is
positioned on
top of the border of my DropGridControl!! If the mouse cursor is INSIDE
my
DropGridCotrol, I can see from the events debug messages that the mouse
cursor
has "Entered" and "Exited" the drop zone! i.e. it's saying that the
mouse cursor has
passed the drop target, which is not true.

Q: How do I make the INSIDE of my DropGridControl a drop target as well,
NOT
ONLY the borders of my DropGridControl?
Thanks greatly for your help!!
Technical Details
Message-ID: <37B18754.CD1D6F5C@magnus.uwaterloo.ca>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,6d04385e4cc36a3f,start
X-Google-Attributes: gid111d45,public
From: "EA." <eaabouzo@magnus.uwaterloo.ca>
Subject: GridControl as drop target..
Date: 1999/08/11
Message-ID: <37B18754.CD1D6F5C@magnus.uwaterloo.ca>
X-Deja-AN: 511676574
Content-Transfer-Encoding: 7bit
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