Search found 16 matches
- Thu Oct 30, 2025 5:19 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: How to save a graphic on a card using paint tools
- Replies: 21
- Views: 2726
Re: How to save a graphic on a card using paint tools
Thanks Bernd!
- Wed Oct 29, 2025 5:28 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: How to save a graphic on a card using paint tools
- Replies: 21
- Views: 2726
Re: How to save a graphic on a card using paint tools
Could you try to create an image object of the size and location you want first and then do your drawing- I created a new image with default properties. Then I set the rectangle of the new image to the rect of the painted image (or bigger). This worked: when I leave the card or close the stack the ...
- Tue Oct 28, 2025 4:11 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: How to save a graphic on a card using paint tools
- Replies: 21
- Views: 2726
Re: How to save a graphic on a card using paint tools
OK, OK, just wanted to be sure. 8) But what do you mean by: (If I want to draw a new graphic I use a button that cuts the rectangle of the graphic.) Maybe you could post the script and/or stack here? To delete the previously drawn graphic I use this script: choose select tool drag from 0,0 to 560,7...
- Tue Oct 28, 2025 3:54 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: How to save a graphic on a card using paint tools
- Replies: 21
- Views: 2726
Re: How to save a graphic on a card using paint tools
There's no openCard handler or any other handler that 'cleans up' the card. (If I want to draw a new graphic I use a button that cuts the rectangle of the graphic.)
- Tue Oct 28, 2025 2:55 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: How to save a graphic on a card using paint tools
- Replies: 21
- Views: 2726
How to save a graphic on a card using paint tools
Hi, I've a script that draws a graphic (like a column chart) using the draw command. Before I start drawing I've set linesize and pencolor. The graphic draws smoothly and everything works as expected. However, when I go to another card the graphic is lost. It's also lost when I save the stack. What ...
- Wed Jun 11, 2025 4:31 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: referring to other stacks: include .livecode extension
- Replies: 6
- Views: 14582
referring to other stacks: include .livecode extension
I work on different locations with different OS systems. I experience a lot of troubles when I try to (pre) load stacks under Win10 or Win11. Under Win10 I get away with "start using stack xxx" but under Win11 I have to use "start using stack xxx.livecode" Is this a known issue? And how to resolve t...
- Sun Jun 08, 2025 4:44 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: image is shared between cards instead of unique to the cards
- Replies: 9
- Views: 19509
Re: image is shared between cards instead of unique to the cards
Thanks to all who replied! Really appreciated it because the solution was indeed to drop the shared image and place an image on each card. Fortunately, that was easy to script. So now I have exactly what I want with a unique image on each card. Now that the shared image issue has been resolved, I've...
- Sat Jun 07, 2025 3:59 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: image is shared between cards instead of unique to the cards
- Replies: 9
- Views: 19509
Re: image is shared between cards instead of unique to the cards
Sorry, but I don't get what you are saying.
- Sat Jun 07, 2025 3:30 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: image is shared between cards instead of unique to the cards
- Replies: 9
- Views: 19509
Re: image is shared between cards instead of unique to the cards
Thanks. When I look at the object properties of my group 'collection' I have checked 'shared group' and 'behave like a background'.
But how can I make the image to not belong to this background group?
But how can I make the image to not belong to this background group?
- Sat Jun 07, 2025 3:05 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: image is shared between cards instead of unique to the cards
- Replies: 9
- Views: 19509
image is shared between cards instead of unique to the cards
I have a stack of about 50 cards with a number of fields and buttons shared in a group 'collection'. Each card has an image (png), belonging to the same group 'collection', that I load from the internet when the card is created. However, this image is shared between all cards instead of being unique...
- Thu Mar 13, 2025 7:39 am
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Printing to PDF stops after some pages
- Replies: 12
- Views: 21264
Re: Printing to PDF stops after some pages
Hi Martin, maybe a little WAIT will help? ... open printing to pdf tPDFPath put 36,36,559,806 into tRect repeat with i=1 to the number of cards print card i into tRect print break wait 50 millisecs with messages end repeat close printing ... Just guessing... Hi Klaus, Thanks, I already tried wait 1...
- Wed Mar 12, 2025 5:02 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Printing to PDF stops after some pages
- Replies: 12
- Views: 21264
Re: Printing to PDF stops after some pages
I have a stack of about 12 cards (each card contains 7 fields with 54 lines of text each) that I want to print to a pdf. That works fine up to page 7. On the eighth page, the data that is printed to the pdf stops somewhere halfway. I can send the same file directly to a printer and then all 12 page...
- Tue Mar 11, 2025 10:35 am
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Printing to PDF stops after some pages
- Replies: 12
- Views: 21264
Re: Printing to PDF stops after some pages
No, I'm experiencing this on Win10 and in the IDE environment. No special characters are being used, just plain text.
- Mon Mar 10, 2025 4:24 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Printing to PDF stops after some pages
- Replies: 12
- Views: 21264
Printing to PDF stops after some pages
I have a stack of about 12 cards (each card contains 7 fields with 54 lines of text each) that I want to print to a pdf. That works fine up to page 7. On the eighth page, the data that is printed to the pdf stops somewhere halfway. I can send the same file directly to a printer and then all 12 pages...
- Sun Feb 09, 2025 2:02 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: dateItems show wrong day of the week
- Replies: 4
- Views: 15290
Re: dateItems show wrong day of the week
Thank you, bogs!