The space bar and the answer command.
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
The space bar and the answer command.
Hello, please:
In the dialog box of the ANSWER command, the SPACEBAR also acts accepting the default option.
Is there any way to avoid it and limit to ENTER and RETURN keys just as it's supposed to be?
Thank you very much.
Mac and LC 8.0.1.
In the dialog box of the ANSWER command, the SPACEBAR also acts accepting the default option.
Is there any way to avoid it and limit to ENTER and RETURN keys just as it's supposed to be?
Thank you very much.
Mac and LC 8.0.1.
Re: The space bar and the answer command.
Yipes.
Mac and LC 6.9. I wonder if HC does this. I will check.
So, after nearly 30 years at this, I am astonished to find that the spacebar will dismiss an answer dialog as the default response.
20 years of schooling and they put you on the day shift...
Craig Newman
Mac and LC 6.9. I wonder if HC does this. I will check.
So, after nearly 30 years at this, I am astonished to find that the spacebar will dismiss an answer dialog as the default response.
20 years of schooling and they put you on the day shift...
Craig Newman
Re: The space bar and the answer command.
I was also surprised to see that the SPACE bar will "click" the "OK" button!? 
However there is really NOTHING in the scripts of the ASK DIALOG stack that would allow this!?
Not sure if this is a bug or not.

However there is really NOTHING in the scripts of the ASK DIALOG stack that would allow this!?
Not sure if this is a bug or not.
Re: The space bar and the answer command.
Klaus.
I would consider it a bug, or at the very least, un unwanted and unwarranted feature, if there could possibly be such a thing. Do you want to send this to QCC, or should I?
Craig
I would consider it a bug, or at the very least, un unwanted and unwarranted feature, if there could possibly be such a thing. Do you want to send this to QCC, or should I?
Craig
Re: The space bar and the answer command.
Hi Craig,
please do, thanks!
Best
Klaus
please do, thanks!
Best
Klaus
Re: The space bar and the answer command.
It may be the user's system setting. Accessibility settings sometimes do this.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
Re: The space bar and the answer command.
Submitted as bug 17716.
Craig
Craig
Re: The space bar and the answer command.
Hi Jaque,
Best
Klaus
yes, maybe, but this also happen on my machine and I have not set any of these!jacque wrote:It may be the user's system setting. Accessibility settings sometimes do this.
Best
Klaus
Re: The space bar and the answer command.
It's obviously a surprise to Mac users, but it's meant to do this on Windows. And tab should switch focus between the alternate button(s).
(I just used the tab key on the keyboard to set focus from the Preview to the Submit button for this post, and submitted with the spacebar)
(I just used the tab key on the keyboard to set focus from the Preview to the Submit button for this post, and submitted with the spacebar)
-
- VIP Livecode Opensource Backer
- Posts: 10052
- Joined: Sat Apr 08, 2006 7:05 am
- Contact:
Re: The space bar and the answer command.
Same with most Linux environments as well. Somewhere down the road I'll try to get some time to add the Tab key behavior, but as with the Space key we'll want to exclude OS X because it operates differently in some respects from the rest of the world.SparkOut wrote:It's obviously a surprise to Mac users, but it's meant to do this on Windows. And tab should switch focus between the alternate button(s).
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
Re: The space bar and the answer command.
... But does not pass throug A SECOND ANSWER.
Code: Select all
on mouseup
-- Getting time laps between spacebar keystrokes
answer "Tap spacebar to get ticks... and click the mouse to finish"
put the ticks into tCero
put 1 into eve
repeat forever
put "blowoff valve " & eve -- WATCH OUT! without this line, LC probably crashes in 1 or 2 minutes
if chartonum (" ") is in the keysDown then -- wait for the spacebar
put eve &" - "& (the ticks - tCero) into line eve of ccc ---------------------------------ACTION
add 1 to eve -- Next event
wait until the keysDown is empty --
end if
if the mouse is down then exit repeat --------- EXIT
end repeat
answer ccc answer ccc -- THE SECOND ANSWER STAND STILL.
end mouseup