LilCthulhu
April 13th, 2010, 18:23
Hi,
Ok, I know it sounds silly, but I really need this ;)
I need to create a double-click operation on a dice field. Double-clicking on the dice field would results in throwing the dice in the chat window the same way dragging the dice to the chat window would do !!!
However, I need to provide the "same dragdata" that has custom information in it... I don't seem to find the way to create an empty dragdata ie :
in C# I would write something like this:
DragData tmpDragData = new DragData();
I really need the onDrag(button, x, y, dragdata) and the double-click with the chat window as the target to behave the same... any help would be appreciated...
Ok, I know it sounds silly, but I really need this ;)
I need to create a double-click operation on a dice field. Double-clicking on the dice field would results in throwing the dice in the chat window the same way dragging the dice to the chat window would do !!!
However, I need to provide the "same dragdata" that has custom information in it... I don't seem to find the way to create an empty dragdata ie :
in C# I would write something like this:
DragData tmpDragData = new DragData();
I really need the onDrag(button, x, y, dragdata) and the double-click with the chat window as the target to behave the same... any help would be appreciated...