on 31/1/05 10:12 am, Ruslan Zasukhin at sunshine at public dot kherson dot ua
wrote:
> 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.
Hi Ruslan,
I reported this bug some time ago.
It's listed as :
DragItem.DropTop returns distance from top of window - not control
and is reported as fixed in RB 6
Best Regards
Ian Mann
http://www.hotwork.org/
--
_______________________________________________
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>
|