Signature Block
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Signature Block
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
I'm trying to create a signature block where someone can sign but it is constrained in a defined area.
Any ideas? Thanks!
Rob
Rob Glassman
ArkStar
ArkStar
-
- VIP Livecode Opensource Backer
- Posts: 10043
- Joined: Sat Apr 08, 2006 7:05 am
- Contact:
Re: Signature Block
An image object will constrain paint operations within its rect.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
Re: Signature Block
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
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
I believe that answers my question. Its a app for work orders. The client is required to sign the order.
Thanks!
Rob
Thanks!
Rob
Rob Glassman
ArkStar
ArkStar
Re: Signature Block
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
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
Rob Glassman
ArkStar
ArkStar
Re: Signature Block
I put this in an image area script:
And it appeared to work OK.
Walt
Code: Select all
on mouseEnter
choose the pen tool
end mouseEnter
on mouseLeave
choose the browse tool
end mouseLeave
Walt
Walt Brown
Omnis traductor traditor
Omnis traductor traditor
Re: Signature Block
Thanks Walt!
I tried that same code earlier and it did not work for me but now it did.
Thanks again!
Rob
I tried that same code earlier and it did not work for me but now it did.
Thanks again!
Rob
Rob Glassman
ArkStar
ArkStar
Re: Signature Block
Sorry, but one more question... Is there a way to clear that drawing?
Rob Glassman
ArkStar
ArkStar
Re: Signature Block
Hi Rob,
put empty into img XXX
...
Best
Klaus
...arkstar wrote:Is there a way to clear that drawing?
put empty into img XXX
...

Best
Klaus
Re: Signature Block
Thanks Klaus,
That erases the whole img. I just want to clear the writing created with the pen tool...
Rob
That erases the whole img. I just want to clear the writing created with the pen tool...
Rob
Rob Glassman
ArkStar
ArkStar
Re: Signature Block
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
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
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
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

- Attachments
-
- signatureblock.livecode.zip
- (1.95 KiB) Downloaded 323 times