Search found 5 matches
- Sat May 03, 2014 5:42 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Opening a stack causes malfunctions?
- Replies: 8
- Views: 4768
Re: Opening a stack causes malfunctions?
It worked. Thanks again.
- Sat May 03, 2014 5:09 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Opening a stack causes malfunctions?
- Replies: 8
- Views: 4768
Re: Opening a stack causes malfunctions?
My main stack will freeze the program upon opening, meaning I cannot edit anything in the entire stack
OK. Try this
create a new stack with one btn with this script:
on mouseUp
answer file "open" -- select your stack
if it = empty then exit mouseup
set the lockmessages to true
open stack it ...
OK. Try this
create a new stack with one btn with this script:
on mouseUp
answer file "open" -- select your stack
if it = empty then exit mouseup
set the lockmessages to true
open stack it ...
- Sat May 03, 2014 3:22 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Opening a stack causes malfunctions?
- Replies: 8
- Views: 4768
Re: Opening a stack causes malfunctions?
Here is a simple Timer using pendingmessages
I hope its help in your case
Sorry, I don't think you quite understand my dilemma. My main stack will freeze the program upon opening, meaning I cannot edit anything in the entire stack. I'm led to believe that the code mentioned is causing this, but I ...
I hope its help in your case
Sorry, I don't think you quite understand my dilemma. My main stack will freeze the program upon opening, meaning I cannot edit anything in the entire stack. I'm led to believe that the code mentioned is causing this, but I ...
- Sat May 03, 2014 2:41 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Opening a stack causes malfunctions?
- Replies: 8
- Views: 4768
Re: Opening a stack causes malfunctions?
Hi user99
Using a repeat loop for a timer is not a good way
Using pendingmessages is better.
If you choose repeat you have to put "with messages" after your wait message like this:
on timer x
repeat
subtract x from TimeLeft
put TimeLeft into TimeLeftoutput
wait 1 second with messages
end ...
Using a repeat loop for a timer is not a good way
Using pendingmessages is better.
If you choose repeat you have to put "with messages" after your wait message like this:
on timer x
repeat
subtract x from TimeLeft
put TimeLeft into TimeLeftoutput
wait 1 second with messages
end ...
- Sat May 03, 2014 2:13 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Opening a stack causes malfunctions?
- Replies: 8
- Views: 4768
Opening a stack causes malfunctions?
Hello. I have been working with livecode for a game programming unit and have come across a reoccurring problem. Whenever I open my game, I cannot select anything and the entire program is frozen until I try to close it. Then I am redirected to the faulty code which I have created for a timer in my ...