Search found 8 matches
- Sun Jan 08, 2017 5:42 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Need help with "disabling" a button!
- Replies: 46
- Views: 23944
Re: Need help with "disabling" a button!
I see - it was the branching the handler to check for the environment piece that I was missing. That seems to work now, thanks jacque!!
- Sun Jan 08, 2017 2:41 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Need help with "disabling" a button!
- Replies: 46
- Views: 23944
Re: Need help with "disabling" a button!
I tried to see if I could recreate the phenomenon in a whole new project, and the answer was yes. I have 2 buttons: ABC and XYZ. Button ABC does pickQuestion on mouseUp, and button XYZ does submitAnswer on mouseUp. The entirety of the card script is: on pickQuestion disable button "ABC" show button ...
- Sat Jan 07, 2017 6:35 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Need help with "disabling" a button!
- Replies: 46
- Views: 23944
Re: Need help with "disabling" a button!
Spoke too soon - the app works correctly now in LiveCode, but when I put the app onto a tester device or test in the simulator, the flushevents doesn't work. I also tried using mobileClearTouches, but that doesn't seem to work in my version of LiveCode (it's in the dictionary, but when I type it int...
- Fri Jan 06, 2017 11:06 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Need help with "disabling" a button!
- Replies: 46
- Views: 23944
Re: Need help with "disabling" a button!
SparkOut, you're amazing!! That worked!! I put:
into the handler right before the button is enabled, and it functions correctly now. Thanks so much for your help, I'm so grateful!!
Code: Select all
put flushEvents("mouseUp") into temp
into the handler right before the button is enabled, and it functions correctly now. Thanks so much for your help, I'm so grateful!!
- Fri Jan 06, 2017 9:29 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Need help with "disabling" a button!
- Replies: 46
- Views: 23944
Re: Need help with "disabling" a button!
Klaus, thank you for the suggestions! The lock screen function works great and is much cleaner in presentation. Craig, I agree, it seems like something is haunted! I created a new button with a new name in a different part of the screen and deleted the former "Ready" button in case there was somethi...
- Fri Jan 06, 2017 4:44 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Need help with "disabling" a button!
- Replies: 46
- Views: 23944
Re: Need help with "disabling" a button!
Essentially, yes. However, the action that the button does on mouseUp doesn't start until the button becomes enabled again. So if the button is disabled for 1 minute, and you click on that button during the 1 minute, nothing happens immediately, but as soon as the button is enabled after that 1 minu...
- Fri Jan 06, 2017 4:27 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Need help with "disabling" a button!
- Replies: 46
- Views: 23944
Re: Need help with "disabling" a button!
Thanks for your suggestions! dunbarx is correct - I've disabled the troublesome button and also attempted to hide or cover it. Yet, somehow, the system is registering a click on the button even when the button is disabled, and saving it up, so to speak. Then as soon as the button is enabled, the cli...
- Fri Jan 06, 2017 5:13 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Need help with "disabling" a button!
- Replies: 46
- Views: 23944
Need help with "disabling" a button!
Hi! I am extremely new to LiveCode and am working on creating a program that will do instructional trials. A student clicks the "Ready" button, and four letters appear on the screen and an audio file plays saying "Touch the Letter A". After the student clicks on one of the letters, feedback will be ...