Search found 21 matches

by bd525
Wed Apr 20, 2016 2:15 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Objects sharing scripts
Replies: 7
Views: 1376

Re: Objects sharing scripts

Haven't figured out what's going on yet, but will try again later today (it's morning in the western U.S.) when I have some more time.
by bd525
Wed Apr 20, 2016 2:01 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Objects sharing scripts
Replies: 7
Views: 1376

Re: Objects sharing scripts

My app is not complex, Richard, so it's simple to write "exit mouseUp" conditions in the card scripts for mouseUps that don't apply.

But, it seems as if you're saying that the way I set things up in the first place should have worked. Correct?
by bd525
Wed Apr 20, 2016 1:22 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Objects sharing scripts
Replies: 7
Views: 1376

Re: Objects sharing scripts

I was right; the solution is indeed simple. The card script example accomplishes all I need.

I now have a better grasp of the conceptual structure of LiveCode. Thanks, Craig!
by bd525
Tue Apr 19, 2016 9:43 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Objects sharing scripts
Replies: 7
Views: 1376

Objects sharing scripts

No doubt this is a simple question, but I haven't been able to find the answer in a lot of searching of the forum, Google, and the User Guide. So, I hope somebody can spare a minute or two to save me more time scratching my head. All I need is for a group of buttons or images on the same card to sha...
by bd525
Sun Apr 10, 2016 12:00 am
Forum: iOS Deployment
Topic: Cross-platform menus
Replies: 5
Views: 1229

Re: Cross-platform menus

Thanks, Richard, that's helpful.

Can you point me toward one or more well implemented examples? I would be willing to purchase from the app store if necessary.
by bd525
Sat Apr 09, 2016 3:42 pm
Forum: iOS Deployment
Topic: Cross-platform menus
Replies: 5
Views: 1229

Re: Cross-platform menus

Right, I'm starting to get the picture. When LiveCode says, essentially, "Develop once, deploy multiple times" that's to be taken with a grain of salt. Literally true with an app as simple as their Sheepherder example, not so much for something more complex. In continuing to investigate I've found a...
by bd525
Fri Apr 08, 2016 4:25 pm
Forum: iOS Deployment
Topic: Cross-platform menus
Replies: 5
Views: 1229

Cross-platform menus

Apologies if this question is naive, but I really have done a lot of searching. Development on my app is going well. Basic functionality is up and running, so it's time to start implementing some menus. Tools for that look great; very straightforward. What I don't get yet is what is the best approac...
by bd525
Tue Apr 05, 2016 4:52 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Searching array keys
Replies: 7
Views: 1311

Re: Searching array keys

Thanks, that makes sense, and is helpful. I've realized there is a simple solution to my problem. The simple arrays I need all have unique elements, so for those few arrays I need to do a "reverse look up" I simply create a mirror version, with keys and elements reversed. It works! Thanks for the in...
by bd525
Mon Apr 04, 2016 3:01 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Searching array keys
Replies: 7
Views: 1311

Re: Searching array keys

Is 2 the value or the key? The key. And what does it return when it finds multiple matches? Sorry, not sure what you mean. In this case it's just as shown: A text string for the variable, an integer for the key. Sorry if my understanding of these concepts is not sophisticated. All I need to do in t...
by bd525
Mon Apr 04, 2016 1:53 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Searching array keys
Replies: 7
Views: 1311

Re: Searching array keys

put ["one":1,"two":2] into thisProp
put getaProp(thisProp,"two")
returns: 2
by bd525
Mon Apr 04, 2016 12:20 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Searching array keys
Replies: 7
Views: 1311

Searching array keys

Apologies if this question is easily answered. I just can't find it. I am making use of simple arrays. I understand how to reference a variable in an array with the key: put thisArray[1] into thatVar. But what if I want to determine what key value is associated with a particular variable, say a text...
by bd525
Tue Mar 29, 2016 9:38 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Corrupted stack
Replies: 7
Views: 908

Re: Corrupted stack

Thanks for the very thorough reply, Richard. And apologies for the somewhat elevated tone of my original post. I wonder if the problem could have been caused by a substack I created as a repository for scripts from the Director version of the project I'm migrating. It's a convenient location for scr...
by bd525
Tue Mar 29, 2016 3:15 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Corrupted stack
Replies: 7
Views: 908

Corrupted stack

After saving my project in LiveCode 7.1.1 I upgraded to 7.1.2. When I tried to open the stack in 7.1.2 I got "There was a problem opening that stack: stack is corrupted, check for ~ backup file." I returned to 7.1.1. and got the same error message; with the same file that had NOT been edited since b...
by bd525
Fri Mar 25, 2016 3:26 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Handler won't run
Replies: 4
Views: 701

Re: Handler won't run

Put it on my credit card.
by bd525
Fri Mar 25, 2016 2:30 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Handler won't run
Replies: 4
Views: 701

Re: Handler won't run

The problem was that I didn't know about the Apply button in script windows. I'm migrating from Director, which shows script errors automatically. Another handler in the card script prior to the handler in question had a missing "then" in an "else" keyword line. I noticed the Apply button, clicked i...

Go to advanced search