Search found 548 matches

by mrcoollion
Mon Sep 21, 2015 6:25 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Launched stack does not keep all changes
Replies: 4
Views: 1122

Re: Launched stack does not keep all changes

Hoi Klaus, Tried the 'answer the result' statement direct after save this stack And the result is empty (see attached screenshot)! So it seems that all has gone well. However if I shutdown the application and start it up again the cards are gone ... If I add only one card the stack remembers this ca...
by mrcoollion
Mon Sep 21, 2015 3:26 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Launched stack does not keep all changes
Replies: 4
Views: 1122

Re: Launched stack does not keep all changes

Hi Klaus,

I did what you suggested but still the same result :? (see attached printscreen of folder).

It is in Dutch but as you can see it is a subfolder in my documents folder (D:\User Folders\Documents\Launcher3).

Regards,

Paul
by mrcoollion
Mon Sep 21, 2015 7:31 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Launched stack does not keep all changes
Replies: 4
Views: 1122

Launched stack does not keep all changes

Hope someone can help me with the next problem I encounter. I am working on an application that adds cards within a stack (see post http://forums.livecode.com/viewtopic.php?f=8&t=25353) I have got everything working fine and I use a launcher to start the application ( http://lessons.runrev.com/s/les...
by mrcoollion
Thu Sep 17, 2015 7:10 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Cloning a template card with code
Replies: 15
Views: 2443

Re: Cloning a template card with code

Tried the following:

Code: Select all

 clone card "Template"
   set the name of card "Template" of this stack to thenewcardname
This works. It probably changes the first card it finds that is named Template but that does not matter because they are clones anyway.

Thanks for the help.

:D
by mrcoollion
Thu Sep 17, 2015 7:03 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Cloning a template card with code
Replies: 15
Views: 2443

Re: Cloning a template card with code

Clone the card and then set the name of 'the last card of this stack' to whatever you want to call it... :-) I already tried this and it does change a card name but unfortunately it does not change the correct card but another card already existing :( . I used the statement: 'set the name of the la...
by mrcoollion
Thu Sep 17, 2015 6:19 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Cloning a template card with code
Replies: 15
Views: 2443

Cloning a template card with code

I am trying to clone a card I use as a template to a new card with a new name. And I also need to delete a card of which I know the name I use the code: clone card "Template" And this works but the name of the clone is identical to the original (duhh :shock: ). After cloning I do not know which card...
by mrcoollion
Tue Sep 01, 2015 5:26 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Graphic in scrolling list field disappears
Replies: 22
Views: 3268

Re: Graphic in scrolling list field disappears

Klaus wrote:Hi Pauk,

please do not quote the complete thread in your next postings, thanks! :D


Best

Klaus
Ok .. sorry did not mean to ...
by mrcoollion
Tue Sep 01, 2015 12:36 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Graphic in scrolling list field disappears
Replies: 22
Views: 3268

Re: Graphic in scrolling list field disappears

I could not find a reliable way to find out the top and bottom line number in view while scrolling for redrawing the images to save memory. I now create a new image for each chat and that works fine with scrolling. It would have been nice if it were possible to have a field property in which I can s...
by mrcoollion
Sun Aug 30, 2015 2:09 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Graphic in scrolling list field disappears
Replies: 22
Views: 3268

Re: Graphic in scrolling list field disappears

The reason the img dissapears is because the character that it is linked to leaves the viewport, so the engine stops rendering it. The same happens with groups, for the same reason. If you want to get around this problem, you can us a cheater method. Use a separate scroll bar, mask off your viewing...
by mrcoollion
Sat Aug 29, 2015 7:51 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Graphic in scrolling list field disappears
Replies: 22
Views: 3268

Re: Graphic in scrolling list field disappears

The reason the img dissapears is because the character that it is linked to leaves the viewport, so the engine stops rendering it. The same happens with groups, for the same reason. If you want to get around this problem, you can us a cheater method. Use a separate scroll bar, mask off your viewing...
by mrcoollion
Sat Aug 29, 2015 7:45 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Why does shell with attrib does not work?
Replies: 6
Views: 1952

Re: Why does shell with attrib does not work?

Theres another thing I do on windows that makes things easier.. put shortfilepath("D:\test folder\subfolder") into tPath at which point tPath has the old style 8.3 no spaces path to the file. merge can be pretty helpful too. If you have this string saved.. "attrib +h [[tPath]]" in a variable named ...
by mrcoollion
Wed Aug 26, 2015 7:05 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Graphic in scrolling list field disappears
Replies: 22
Views: 3268

Re: Graphic in scrolling list field disappears

Hi Paul what exactly did you try? This is a nifty trick and surely works, if applied correctly :D Best Klaus Hi Klaus I tried to follow the lesson How to scrol a card that is taller or wider than the window. http://lessons.runrev.com/m/4071/l/11788-how-do-i-scroll-a-card-that-is-taller-or-wider-tha...
by mrcoollion
Wed Aug 26, 2015 3:38 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Graphic in scrolling list field disappears
Replies: 22
Views: 3268

Re: Graphic in scrolling list field disappears

Klaus wrote:Hi Paul

what exactly did you try?
This is a nifty trick and surely works, if applied correctly :D


Best

Klaus
Will place the stack tonight.. Help is appreciated.
by mrcoollion
Mon Aug 24, 2015 9:19 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Graphic in scrolling list field disappears
Replies: 22
Views: 3268

Re: Graphic in scrolling list field disappears

mrcoollion wrote:
jacque wrote:I didn't look at your stack, but it might work if you group the field and scroll the group.
I will give it a try.

Thx :)
Gave it a try.. no luck.. same behavior. Was worth the try though ... thx ... :mrgreen:
by mrcoollion
Mon Aug 24, 2015 7:54 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Graphic in scrolling list field disappears
Replies: 22
Views: 3268

Re: Graphic in scrolling list field disappears

jacque wrote:I didn't look at your stack, but it might work if you group the field and scroll the group.
I will give it a try.

Thx :)

Go to advanced search