On Wednesday, July 30, 2003, at 06:02 PM, Walter Purvis wrote:
At 4:24 PM -0700 7/30/03, Bryan Lund wrote:
So, basically, what I need either:
b) The ability to have events fire during a drag so that I can create
this functionality myself.
What events do you need to have fire? If you know the xy of the mouse,
can't you make the appropriate visual updates to the rows you're
dragging over? And can't you tell the xy position at mouseup and thus
figure out what row was dropped where? What else do you need to create
the functionality?
Well, when a drag is in process NO events fire. At all. If just one
single event would fire (like mouse move or mouse drag) I could get
this functionality to work quite easily.
Theoretically I could make this work if I didn't use the RB drag
functionality at all and created my own drag class. But, well, that's
not exactly an elegant or optimal solution. And I like elegant and
optimal solutions. :-)
The application I need this for is a port of a Cocoa application (my
most popular one) and, up until this point, the conversion to 100% RB
has gone incredibly smoothly. So I would like to be able to get over
this roadblock in a clean and elegant way if at all possible.
-Bryan
blund at mac dot com / bryan at radicalbreeze dot com
www.radicalbreeze.com
---
A searchable archive of this list is available at:
<http://support.realsoftware.com/listarchives/search.php>
Unsubscribe or switch delivery mode:
<http://support.realsoftware.com/listmanager/>
.
|