When dragging an item from a ListBox to a canvas, a rectangle appears that
is apparently the same width and height as the width and height of the
ListBox row.  This rectangle stays visible until the item is dropped onto
the canvas.

I would like for this rectangle to instead reflect the size of the item that
will appear on the canvas once the item is dropped onto the canvas.  I
thought Drag.AddItem would do this, and it sort of does, but while it draws
the correctly sized rectangle, it also draws the other rectangle that is the
same width and height as the ListBox row.

Am I missing something?

Drag.AddItem(MouseX - (GridBox.BoxSize/2), MouseY - (GridBox.BoxSize/2), 44,
44)

Thanks!

WinXp SP2, 2GHz, 2G RAM
RB 5.5.5


_______________________________________________
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>

Reply via email to