On Jun 20, 2006, at 9:09 PM, RBNUBE wrote:
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)
Have you tried to use NewDragItem() for this situation?
Best,
Jack
_______________________________________________
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>