|Re: drag n drop: How to change the text, which is shown during drag [message #483496 is a reply to message #483377]
||Tue, 01 September 2009 18:21
| Grant Gayed
Registered: July 2009
The image that's shown when dragging is just a picture of the source, even|
if the source's content was only text. So the drag image has no concept of
its text, it's just an image. But as was suggested, you can change this
image by setting the DragSourceEvent's image field. Create an Image, create
a GC on the image, gc.drawString(...), gc.dispose(), disposeTheImageLater.
" Uli" <email@example.com> wrote in message
> I don't understand this. I want to change the text, not the image. Or do
> you mean to take a image as text?
Powered by FUDForum
. Page generated in 0.02182 seconds