Page 1 of 1

Signature Block

Posted: Mon Feb 16, 2015 1:29 am
by arkstar
I've reviewed the posts about drawing lines, however it seems it works anywhere on the card.
I'm trying to create a signature block where someone can sign but it is constrained in a defined area.
Any ideas? Thanks!
Rob

Re: Signature Block

Posted: Mon Feb 16, 2015 2:18 am
by FourthWorld
An image object will constrain paint operations within its rect.

Re: Signature Block

Posted: Mon Feb 16, 2015 3:54 am
by dunbarx
Hi.

Does Richard's comment address what you need? That the user literally "signs" in, like one does at a supermarket, where you sign your name in one of those electronic pads to close a credit card transaction? So the user would paint something into an image area, or sign their name in that area?

Craig Newman

Re: Signature Block

Posted: Mon Feb 16, 2015 7:41 am
by arkstar
I believe that answers my question. Its a app for work orders. The client is required to sign the order.
Thanks!

Rob

Re: Signature Block

Posted: Mon Feb 16, 2015 2:25 pm
by arkstar
Hi again,

I'm not getting something correct. The code doesn't work on an image. It's just to write their name as an acknowledgement of service.
Do you have a sample routine you could share? Thanks

Rob

Re: Signature Block

Posted: Mon Feb 16, 2015 3:16 pm
by WaltBrown
I put this in an image area script:

Code: Select all

on mouseEnter
   choose the pen tool
end mouseEnter

on mouseLeave
   choose the browse tool
end mouseLeave
And it appeared to work OK.
Walt

Re: Signature Block

Posted: Mon Feb 16, 2015 4:02 pm
by arkstar
Thanks Walt!

I tried that same code earlier and it did not work for me but now it did.
Thanks again!

Rob

Re: Signature Block

Posted: Mon Feb 16, 2015 4:05 pm
by arkstar
Sorry, but one more question... Is there a way to clear that drawing?

Re: Signature Block

Posted: Mon Feb 16, 2015 4:16 pm
by Klaus
Hi Rob,
arkstar wrote:Is there a way to clear that drawing?
...
put empty into img XXX
...
:D


Best

Klaus

Re: Signature Block

Posted: Mon Feb 16, 2015 4:34 pm
by arkstar
Thanks Klaus,

That erases the whole img. I just want to clear the writing created with the pen tool...

Rob

Re: Signature Block

Posted: Mon Feb 16, 2015 5:00 pm
by Klaus
Hi Rob,

ah, I see, but I'm afraid this is not possible right out of the box.

Quick thought:
You may need to save every modified "snapshot" of your image maybe "on mouseup" so you can
"return" to each last state of the image. Know what I mean?

But I have no idea WHAT state (how many "mouseups" ago) actually reflects the last complete signature.

However that should not be a problem at all, if the signature is the only "content" of that image!
Not?


Best

Klaus

Re: Signature Block

Posted: Mon Feb 16, 2015 5:06 pm
by arkstar
Hi Klaus,

I had the same thought...

Thanks!
Rob

Re: Signature Block

Posted: Tue Feb 17, 2015 1:51 am
by Dixie
Hi...

This will work for you... just sign your life away !
all you would have to do then, is export a snapshot of the signature to wherever it needs to go :-)

Re: Signature Block

Posted: Tue Feb 17, 2015 9:07 am
by arkstar
That's perfect Dixie! Thanks!