dbTalk Databases Forums  

Click button with enter key?

comp.databases.filemaker comp.databases.filemaker


Discuss Click button with enter key? in the comp.databases.filemaker forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
NScheffey
 
Posts: n/a

Default Click button with enter key? - 03-05-2007 , 03:05 PM






Hey there everyone-
I'm using Filemaker Advanced 8.5 for Windows. My question: when a user
has tabbed to a button, and it is selected, s/he can then "click" the
button by pressing the space bar or the Return key, but not,
apparently, the Enter key. Is there any way to change this behavior or
work around it?

My users are very used to using the numeric keypad, and if I tell them
they can't anymore, they won't be very happy with me.

Thanks in advance for any input-
Nate


Reply With Quote
  #2  
Old   
Tim
 
Posts: n/a

Default Re: Click button with enter key? - 03-06-2007 , 02:58 AM






and part 2 to this question (if I may add to the thread) is if the
user is in a field, can they press enter or the return key to press
the default button? It is very standard windows feature and saves
having to go for the mouse each time.

I know this has been asked in the past but I can't find any
satisfactory answer.



Reply With Quote
  #3  
Old   
Ursus
 
Posts: n/a

Default Re: Click button with enter key? - 03-06-2007 , 03:57 AM



Tim, there is no such thing as a default button.

Not unless you are already in a script, then the default is to continue the
script (With the numeric enterkey)

Keep well, Ursus

"Tim" <tswalton (AT) gmail (DOT) com> schreef in bericht
news:1173171485.016403.14050 (AT) v33g2000cwv (DOT) googlegroups.com...
Quote:
and part 2 to this question (if I may add to the thread) is if the
user is in a field, can they press enter or the return key to press
the default button? It is very standard windows feature and saves
having to go for the mouse each time.

I know this has been asked in the past but I can't find any
satisfactory answer.





Reply With Quote
  #4  
Old   
Tim
 
Posts: n/a

Default Re: Click button with enter key? - 03-06-2007 , 08:00 AM



I'm still sad this is missing.
It was missing when filemaker was only available for macs, because
macs didn't have this feature either.
But this was 10 years ago or more.
I hearby register my grumble.

Tim


Reply With Quote
  #5  
Old   
NScheffey
 
Posts: n/a

Default Re: Click button with enter key? - 03-06-2007 , 08:16 AM



On Mar 6, 9:00 am, "Tim" <tswal... (AT) gmail (DOT) com> wrote:
Quote:
I'm still sad this is missing.
It was missing when filemaker was only available for macs, because
macs didn't have this feature either.
But this was 10 years ago or more.
I hearby register my grumble.

Tim
I think I may have discovered a solution (to my problem at least).
Here was my problem exactly: my users enter a field, then use the
numeric keypad to enter a number. Then they want to press the numeric
Enter to tab to a button to execute a script, which is easy to set up.
But then, they want to press Enter again to execute the script, rather
than having to press Return or Space. Impossible? Maybe not.
So, here is my workaround: change the field to a button. When the user
clicks into the field (or uses a Ctrl key combo I set up with custom
menus) the script first sends them to the field, then pauses
indefinitely. Then, when the user presses Enter, the script executes
the relevant button script. Mission accomplished right?
Well actually this brought up a problem. Now if the user enters the
field, types in data, and presses return or spacebar instead of enter
they will tab to the button and execute the script that way, which
leaves the original script still paused indefintely. Solution? Set the
button properties to "Halt current script".
So, now I have a field where users can enter a value, and then by
pressing Enter, Return or Spacebar (possibly twice) execute a script,
which was my goal. Sweet.
Note, all of this only works if the Status Area is hidden.
Look forward to hearing if my solution has massive flaws.
Nate



Reply With Quote
  #6  
Old   
Ursus
 
Posts: n/a

Default Re: Click button with enter key? - 03-07-2007 , 12:50 PM



And it has the innate problem with running scripts other then the script
waiting for a button click

Ursus

"NScheffey" <NScheffey (AT) gmail (DOT) com> schreef in bericht
news:1173190595.223833.149840 (AT) v33g2000cwv (DOT) googlegroups.com...
Quote:
On Mar 6, 9:00 am, "Tim" <tswal... (AT) gmail (DOT) com> wrote:
I'm still sad this is missing.
It was missing when filemaker was only available for macs, because
macs didn't have this feature either.
But this was 10 years ago or more.
I hearby register my grumble.

Tim

I think I may have discovered a solution (to my problem at least).
Here was my problem exactly: my users enter a field, then use the
numeric keypad to enter a number. Then they want to press the numeric
Enter to tab to a button to execute a script, which is easy to set up.
But then, they want to press Enter again to execute the script, rather
than having to press Return or Space. Impossible? Maybe not.
So, here is my workaround: change the field to a button. When the user
clicks into the field (or uses a Ctrl key combo I set up with custom
menus) the script first sends them to the field, then pauses
indefinitely. Then, when the user presses Enter, the script executes
the relevant button script. Mission accomplished right?
Well actually this brought up a problem. Now if the user enters the
field, types in data, and presses return or spacebar instead of enter
they will tab to the button and execute the script that way, which
leaves the original script still paused indefintely. Solution? Set the
button properties to "Halt current script".
So, now I have a field where users can enter a value, and then by
pressing Enter, Return or Spacebar (possibly twice) execute a script,
which was my goal. Sweet.
Note, all of this only works if the Status Area is hidden.
Look forward to hearing if my solution has massive flaws.
Nate




Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.