Thanks, I can't quite get this to work. If I use your code, I get an
error on the export command "Chunk: No such object" and the file is
not created.
I changed the export command to ....."file "DragImageField" instead
(file instead of image), then the file was created but my Mac says
it's a simple text file. Then the set command fails with the same
error.
Any ideas?
Pete Haworth
On Sep 1, 2010, at 9:39 AM, [email protected]
wrote:
Message: 19
Date: Wed, 1 Sep 2010 10:38:53 +0200
From: zryip theSlug <[email protected]>
Subject: Re: DragImage question
To: How to use Revolution <[email protected]>
Message-ID:
<[email protected]>
Content-Type: text/plain; charset=ISO-8859-1
On Wed, Sep 1, 2010 at 8:53 AM, Peter Haworth
<[email protected]> wrote:
Just working on my first drag/drop code. All seems to be working
fine and a
lot easier to implement than I thought it would be!
I'm dragging the contents of a field (text) into another field on
the same
card and would like to see a faint outline of the source field and
it's text
follow the cursor to the destination field. I know I can set the
dragImage
property to an image number but in this case, the image would be
different
each time because of the text in the field.
Hi Pete,
A solution could consist to create an image of the field on the fly.
For doing that you can use the export snapshot command:
export snapshot from field "myDataField" \
to image "DragImageField" as PNG
set the dragImage to the short id of image "DragImageField"
Regards,
--
-Zryip TheSlug- wish you the best! 8)
http://www.aslugontheroad.co.cc
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution