Search found 4891 matches

by jacque
Tue Jun 25, 2019 5:22 pm
Forum: Off-Topic
Topic: Marty McFly's middle name is Metacard
Replies: 21
Views: 424

Re: Marty McFly's middle name is Metacard

Sorry to offend, I should have said "most users in general" are cheapskates, or better, "most users use the free product." I myself have given a great deal of money to the company over the years, so I have probably insulted myself too. And while donations of time are very much appreciated and valuab...
by jacque
Mon Jun 24, 2019 5:44 pm
Forum: Off-Topic
Topic: Marty McFly's middle name is Metacard
Replies: 21
Views: 424

Re: Marty McFly's middle name is Metacard

MOST of which has got swept by the wayside all for the sake of flaming Filemaker. :( There's a syllogism for that. LC needs resources to thrive. LC users are cheapskates, where FM users are accustomed to paying big bucks. Ergo... Any income from anywhere is applied to all of us, so in the long run ...
by jacque
Sat Jun 22, 2019 7:01 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Scrolling
Replies: 3
Views: 240

Re: Scrolling

Sorry for the delay, I meant to post sooner but I've been swamped with work and family. Below are the standard library handlers I use for creating and managing native scrollers on mobile. It does not require you to track mouse events, instead LC sends a "scrollerDidScroll" message to the script that...
by jacque
Sat Jun 22, 2019 5:28 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Using a substack as a library stack
Replies: 7
Views: 234

Re: Using a substack as a library stack

The return here is not internally connected to its calling handler, as it is in a function call, so more stuff is required, like a script local variable so LC knows what is where. Actually, when used in a command handler, the caller can get the value in the result. That way you don't need a storage...
by jacque
Wed Jun 19, 2019 7:24 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Sorting data question
Replies: 14
Views: 404

Re: Sorting data question

Thanks, I get it now. I think the best way to approach this would be an array. Try this: on sortData put fld 1 into tData repeat for each line l in tData put item 1 to 3 of l into tKey put l & cr after tSortArray[tKey] end repeat end sortData This will automatically create the number of "variables",...
by jacque
Wed Jun 19, 2019 5:23 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: What is the opposite of launch?
Replies: 13
Views: 637

Re: What is the opposite of launch?

Ah. You're ahead of me already. :-)

I'd think that passing the request would trigger the closeStack handler so I'm not sure why it doesn't. Have you tried putting a breakpoint in the closeStack handler to see if it runs? If it doesn't you may have to call "closeStack" yourself.
by jacque
Wed Jun 19, 2019 4:59 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Sorting data question
Replies: 14
Views: 404

Re: Sorting data question

I'm still not sure what you need. Will you always be concerned about only the first 3 items in the line, or do you need to look at all of them? In two theoretical lines, if the first items are identical and second items are not, which variable would the lines go into? What if only the third items di...
by jacque
Tue Jun 18, 2019 5:05 pm
Forum: Talking LiveCode
Topic: OpenStack not runnning
Replies: 17
Views: 432

Re: OpenStack not runnning

I don't know if this applies in your case, but if you close a stack and destroystack is false, the stack remains in RAM. The next time you open it, there are no open* messages sent because to the engine, the stack is already open. If your scripts reference an unopened stack to get a property or some...
by jacque
Tue Jun 18, 2019 4:48 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: What is the opposite of launch?
Replies: 13
Views: 637

Re: What is the opposite of launch?

Clicking the X closes the window only. Most apps on Mac act this way since the user may want to open another document from the File menu. If you want to quit instead, add your quitting code to a CloseStack Request handler.
by jacque
Mon Jun 17, 2019 9:36 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Stack file version...
Replies: 10
Views: 297

Re: Stack file version...

As long as they don't save the plugin, it will retain its older stackfile version. LC is almost always backward compatible so nothing bad will happen. Why do you need to save the plugin? if you just want to retain user data, write it to disk and load it in as needed instead.
by jacque
Mon Jun 17, 2019 6:37 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Stack file version...
Replies: 10
Views: 297

Re: Stack file version...

Every now and then the format of LC's stack binary has to change to accommodate new features. This has happened maybe 4 or 5 times over the years. The stackfileversion tells you which of these binary formats is currently in use, which is the format any open stacks will also be saved in. If you would...
by jacque
Sun Jun 16, 2019 7:43 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Counter Intuitive
Replies: 8
Views: 322

Re: Counter Intuitive

ID numbers mean that kiddos have to go and look them up .
If you want consistency just use "the ID of img x" everywhere.

The point being that the two are consistent, but one offers an alternative reference.

Edit: I see that speedy Klaus has beat me to it.
by jacque
Sun Jun 16, 2019 5:56 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Environment: which applies when?
Replies: 11
Views: 392

Re: Environment: which applies when?

On mobile the documents folder is not available to anyone (or any other app) because it's inside the app sandbox. To share resources outside the sandbox you'd use specialFolderPath("external documents"). Files in documents are safe unless the user has rooted the android device or jailbroken the iPho...
by jacque
Sun Jun 16, 2019 5:41 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Counter Intuitive
Replies: 8
Views: 322

Re: Counter Intuitive

They are consistent in that both accept ID numbers. In fact, that's all an icon would accept until the image name was added later as a convenience.

If you want to teach just one thing, use I'Ds only at first.

Go to advanced search