realbasic-nug
[Top] [All Lists]

HOW TO: drag item to listbox COLUMN? ** Bug in the DropLeft?

To: "valentina at lists dot macserve dot net" <valentina at lists dot macserve dot net>, REALbasic Network Users Group <realbasic-nug at lists dot realsoftware dot com>
Subject: HOW TO: drag item to listbox COLUMN? ** Bug in the DropLeft?
From: Ruslan Zasukhin <sunshine at public dot kherson dot ua>
Date: Mon, 31 Jan 2005 12:12:13 +0200
Cc:
Delivered-to: realbasic-nug at lists dot realsoftware dot com
Hi All,

I have a listbox with N columns.
N - can change at runtime.


I need drag item from other listbox to the first listbox.
I need EXACTLY know on which column I have drop object.

I guess I should use for this obj.DropLeft.

But problem is that it works NOT as described in the docs.

    As far as I see, DropLeft and DropTable show me distance
    from the point of mouse click when I start drag.

    * For example, I get { -337, 51 }
    * I see that for different dragged objects which I drop into
        the same location I get different DropTop values.
        i.e. This confirm that it count from start-drag-point

Docs promise that here I will have offset from Left/Top corner of control
into which I have drop objects.


So have I catch a REALbasic bug?    :-(

Any recommendations how to solve me this task.

Btw, I use RB 5.x

Please CC to me, I am on digest.


-- 
Best regards,
Ruslan Zasukhin      [ I feel the need...the need for speed ]
-------------------------------------------------------------
e-mail: ruslan at paradigmasoft dot com
web: http://www.paradigmasoft.com

To subscribe to the Valentina mail list go to:
http://lists.macserve.net/mailman/listinfo/valentina
-------------------------------------------------------------


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

<Prev in Thread] Current Thread [Next in Thread>