Search found 9 matches

by SheyMouse
Wed Jan 28, 2015 5:42 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Enter multiline text into a text box via script
Replies: 2
Views: 2088

Enter multiline text into a text box via script

Hello, I am attempting to script the placement of multiline text into a field when a user presses a button. It's probably my syntax knowledge that is letting me down (and my google-fu). The scenario is when a user presses a button This is copied into a field Line one of the text Line two of the text...
by SheyMouse
Mon Jan 19, 2015 5:01 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Buttons don't disappear
Replies: 13
Views: 6467

Re: Buttons don't disappear

All, Thank you for your help and replies. Based on a chat with Klaus, and the other replies, I decided to take a look at my installation. It appears as though an old installation, possibly 6.x or 7.0 (RC2) was having an influence on my install. Removing all older versions of LiveCode resulted in the...
by SheyMouse
Mon Jan 19, 2015 3:38 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Buttons don't disappear
Replies: 13
Views: 6467

Re: Buttons don't disappear

@Klaus - email sent.
by SheyMouse
Mon Jan 19, 2015 3:11 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Buttons don't disappear
Replies: 13
Views: 6467

Re: Buttons don't disappear

@Klaus - The results were the same as encountered earlier. The "Visible" box is being unchecked, but the button does not disappear.
by SheyMouse
Mon Jan 19, 2015 3:00 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Buttons don't disappear
Replies: 13
Views: 6467

Re: Buttons don't disappear

@magice - I wouldn't know how to print to an actual printer.

If someone else more experienced reads this and wants to take a crack at it, that would be very useful.
by SheyMouse
Mon Jan 19, 2015 2:35 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Buttons don't disappear
Replies: 13
Views: 6467

Re: Buttons don't disappear

I moved all of the code from the stack script to the card script, the button was still visible when printing the pdf. I then did a separate test by starting a new stack, adding a button and attaching the following script to the button: on mouseUp set the visible of button "Button" to false end mouse...
by SheyMouse
Sun Jan 18, 2015 1:26 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Buttons don't disappear
Replies: 13
Views: 6467

Buttons don't disappear

In the code below is there a reason my my "...set visible of [button] to false!" code isn't functioning? I have had a tinker and cannot get the button to disappear for when the printInvoiceis called, on printInvoice set the visible of button "btnPrint" to "false" put specialFolderPath("documents") &...
by SheyMouse
Sun Jan 18, 2015 1:02 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Printing part of a card to PDF
Replies: 3
Views: 3296

Re: Printing part of a card to PDF

Thanks for the suggestion. Unfortunately the suggested code resulted in a blank page being printed to PDF. I tried a couple of variations including

Code: Select all

print card "invoice" of this stack from 0,0 to 575,600 into 0,0,575,800
Nothing has worked so far.

Any other suggestions?
by SheyMouse
Sat Jan 17, 2015 1:26 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Printing part of a card to PDF
Replies: 3
Views: 3296

Printing part of a card to PDF

I have been tinkering with the create PDF lesson and have hit a snag. Instead of printing the entire card I want to print 3/4 of the card. I cannot get the syntax right for specifying the are of the card I want to print to PDF and could do with a bit of help. Here is the code I am working with: on p...

Go to advanced search