Search found 203 matches

by KimD
Mon Nov 02, 2015 10:25 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Indirect reference to a group on another card
Replies: 5
Views: 687

Re: Indirect reference to a group on another card

Thanks Klaus It turned out that I had been looking at this problem for too long yesterday - and the one object that I had chosen to use as my test case was a graphic and not a group. Doh! Once I had identified and fixed this mistake, It didn't take me long to get the following to work - Do "Clone gr...
by KimD
Mon Nov 02, 2015 4:28 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Indirect reference to a group on another card
Replies: 5
Views: 687

Indirect reference to a group on another card

Sorry - but I'm doing my head in trying to work out how to make an indirect reference to a group on another card. What I have is a card that stores a set of groups that I MIGHT want to use, and an array that identifies which of those groups I actually want to use this time. Card "AnimalStore" // Con...
by KimD
Wed Oct 28, 2015 1:35 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Unexpected result with Set Points & Set Rectangle
Replies: 4
Views: 836

Re: Unexpected result with Set Points & Set Rectangle

Brilliant. I put a single point, separated by two CRs, at each of the outer corners of my point-based graphic canvas - and now it works exactly as I had hoped.

A big thanks for your input. I wish that I'd asked you two days ago!

Regards
by KimD
Wed Oct 28, 2015 12:40 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Unexpected result with Set Points & Set Rectangle
Replies: 4
Views: 836

Re: Unexpected result with Set Points & Set Rectangle

Hi Bernd Thanks for the info. I was (slowly) getting there as a result of my own experimentation. If I understand what you are saying: 1) The boundaries of a point-based graphic are the SMALLEST rectangle that can accommodate its component points; and 2) The relative location of the component points...
by KimD
Tue Oct 27, 2015 10:11 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Unexpected result with Set Points & Set Rectangle
Replies: 4
Views: 836

Unexpected result with Set Points & Set Rectangle

Hi I'm getting a result that I don't expect when setting the points of a graphic and setting the rectangle of the same graphic. My stack is as follows - Stack Card1 On PreOpenCard Set the rectangle of graphic "ABC" to 0,0,200,200 Put Empty into field "DisplayPoints" End PreOpenCard Graphic "ABC" // ...
by KimD
Tue Oct 27, 2015 12:02 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Message path - why can code on a stack see down?
Replies: 3
Views: 676

Re: Message path - why can code on a stack see down?

Thanks Craig

Ahhh

I can see now that I got a bit lucky (by having the object that I was referencing on the 1st card)

You are right - I will need to re-work my code to avoid needing to rely on luck.

Regards
by KimD
Mon Oct 26, 2015 10:04 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Message path - why can code on a stack see down?
Replies: 3
Views: 676

Message path - why can code on a stack see down?

The code for my project is working, but I don't understand why and its bugging me ;-) Stack On PreOpenStack Set the location of graphic XYZ to 50,50 // with no reference to which card graphic XYZ is on End PreOpenStack Card ABC Graphic XYZ 1) What I don't understand is how the "Set the location" cod...
by KimD
Fri Oct 23, 2015 11:32 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: How does Livecode handle concurrent events?
Replies: 6
Views: 1261

Re: How does Livecode handle concurrent events?

Hmmm. I'm using Windows 7, and I suspect that your example is more powerful than you had intended ;-) Both variants caused me to lose control of livecode entirely. I had to do an alt-ctrl-del and kill the livecode process to regain control. After some experimentation I changed the "exit runCounter" ...
by KimD
Fri Oct 23, 2015 4:07 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: How does Livecode handle concurrent events?
Replies: 6
Views: 1261

Re: How does Livecode handle concurrent events?

Thanks Richard. I'm struggling enough with object orientated, which all seems a bit wild & hippy, without needing to think about multi-threaded hippy ;-)

And is it "first come first processed", or can some types of new event interrupt the processing of earlier events?
by KimD
Fri Oct 23, 2015 3:06 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: How does Livecode handle concurrent events?
Replies: 6
Views: 1261

How does Livecode handle concurrent events?

I learnt to programme about the time that disco was giving way to punk & reggae. Then I took a 30 year break. Now I'm trying to get back into it. Could someone explain to me how Livecode processes concurrent events? For example: On LocationChanged CustomHandlerABC End LocationChanged On MouseUp // f...
by KimD
Tue Oct 20, 2015 5:18 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Android getting confused about app ID
Replies: 2
Views: 945

Re: Android getting confused about app ID

Oh it's a steep learning curve

Thanks

Kim
by KimD
Mon Oct 19, 2015 11:36 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Android getting confused about app ID
Replies: 2
Views: 945

Android getting confused about app ID

Dear forum How does Livecode define the unique ID for an Android app? When creating a new Livecode Android test app I am: 1) Making a copy of one of my existing apps (File / Save As newname) 2) Changing the name of the stack (Mainstack / Property Inspector / Name) 3) Changing the name in File / Stan...
by KimD
Sun Jul 12, 2015 8:09 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Livecode windows disappearing
Replies: 2
Views: 685

Re: Livecode windows disappearing

The problem hasn't re-occurred since I read your suggestion. Isn't that always the way.

If it does re-occur, I will try what you suggest.

Regards
by KimD
Sun Jul 12, 2015 8:06 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Repeated use of Crop Image causes crash to desktop
Replies: 6
Views: 1051

Re: Repeated use of Crop Image causes crash to desktop

Thanks for the suggestion. I've logged the issue with Crop Image. Regards
by KimD
Sat Jul 11, 2015 11:55 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Exported images growing in size
Replies: 9
Views: 1614

Re: Exported images growing in size

Thanks. That has cleared up one of the things that was confusing me ;-)

Go to advanced search