Search found 10 matches

by bigal60
Thu Jul 30, 2015 8:51 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: So far not a fan...
Replies: 29
Views: 19044

Re: So far not a fan...

Yes I saved the Stack. I have a nervous habit of saving a lot.

BTW, after quite a few hours of work, LiveCode corrupted the Stack file. I shan't be using LiveCode anymore.

Regards.
by bigal60
Wed Jul 29, 2015 6:12 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: So far not a fan...
Replies: 29
Views: 19044

Re: So far not a fan...

Klaus,

This worked, however, I had to close and reopen the Stack before the change would take effect. What's up with that?
by bigal60
Wed Jul 29, 2015 5:44 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: So far not a fan...
Replies: 29
Views: 19044

Re: So far not a fan...

Hi Klaus, no I defined the global in the Main Stack, no handlers; a true global should not have to be defined in a handler..

Craig, yes it doesn't make sense (to programmers anyway) to have to declare a global again, once declared at the top of the stack. Yes I had defined the image value in a ...
by bigal60
Tue Jul 28, 2015 10:43 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: So far not a fan...
Replies: 29
Views: 19044

Re: So far not a fan...

ok..I changed my handler to this:

on mouseUp
global deckImg
if the icon of me <> deckImg then
set the icon of me to deckImg
else
set the icon of me to the iconImg of me
end if
end mouseUp

my main stack still has:

global deckImg
put 1062 into deckImg

Result:

My button has no image ...
by bigal60
Tue Jul 28, 2015 10:36 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: So far not a fan...
Replies: 29
Views: 19044

Re: So far not a fan...

Say what? A global, is a global, is a global!
by bigal60
Tue Jul 28, 2015 10:27 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: So far not a fan...
Replies: 29
Views: 19044

Re: So far not a fan...

Global declared in my main stack script:

global deckImg
put 1062 into deckImg


code in my Mouse hander:
on mouseUp
answer deckImg
if the icon of me <> the backImg of me then
set the icon of me to the backImg of me
else
set the icon of me to the iconImg of me
end if
end mouseUp


Result ...
by bigal60
Tue Jul 28, 2015 9:35 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: So far not a fan...
Replies: 29
Views: 19044

So far not a fan...

I'm not quite a fan just yet. I simply declared and initialized a global at the main stack:

global deckImg
put 1062 into deckImg


There is no value in the global in my mouse handler....

Regards.
by bigal60
Tue Jul 28, 2015 4:12 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: How to see scripts in Rev file?
Replies: 5
Views: 4666

Re: How to see scripts in Rev file?

I am interested eventually to create light weight user interfaces that use RESTful services as the backend.
by bigal60
Tue Jul 28, 2015 3:58 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: How to see scripts in Rev file?
Replies: 5
Views: 4666

Re: How to see scripts in Rev file?

Hi Craig,

Thank you for your prompt reply. I am just starting out; I am a C# developer...
by bigal60
Tue Jul 28, 2015 3:51 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: How to see scripts in Rev file?
Replies: 5
Views: 4666

How to see scripts in Rev file?

Hello,

I downloaded a sample Stack which says the scripts are open for examination. A .rev file was downloaded; how do I see the scripts in the file?

Regards.