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

Ruslan Zasukhin sunshine at public.kherson.ua
Mon Jan 31 12:12:13 CST 2005


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.com
web: http://www.paradigmasoft.com

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




More information about the Valentina mailing list