Normal Topic HOT KEYS (Read 1074 times)
NHUser
Full Member
***
Offline



Posts: 320
Location: Amherst, NH
Joined: Aug 2nd, 2010
HOT KEYS
Jan 30th, 2015 at 3:39pm
Print Post Print Post  
Is there any way to set up a "hot key", for example Ctrl-Z, to activate a command button?  That would be really helpful.
  
Back to top
 
IP Logged
 
The Cow
YaBB Administrator
*****
Offline



Posts: 2530
Joined: Nov 22nd, 2002
Re: HOT KEYS
Reply #1 - Jan 30th, 2015 at 5:35pm
Print Post Print Post  
Yes.

Label the button with an ampersand ("&") in front of the letter that you would like used as the hotkey:

"&Zillo"

Be sure to name it just: "Zillo", without the ampersand.

That will cause ALT-Z to be the hotkey for the "Zillo" button. Be careful in your selection of hotkeys though. Sesame uses quite a few of them in it own interface. You can see them in the menus, in that the hotkey character is underlined.
  

Mark Lasersohn&&Programmer&&Lantica Software, LLC
Back to top
IP Logged
 
NHUser
Full Member
***
Offline



Posts: 320
Location: Amherst, NH
Joined: Aug 2nd, 2010
Re: HOT KEYS
Reply #2 - Jan 30th, 2015 at 6:34pm
Print Post Print Post  
So, if I understand correctly, if I have a command button named "GotoPOReview", with a label of "PO Review", I need to change the label to &GotoPOReview" and the hot key will be ALT-G.

Or, I can change the name to match the label.

Is that right?
  
Back to top
 
IP Logged
 
The Cow
YaBB Administrator
*****
Offline



Posts: 2530
Joined: Nov 22nd, 2002
Re: HOT KEYS
Reply #3 - Jan 30th, 2015 at 6:46pm
Print Post Print Post  
That is basically it.

But, no - do not have the name match the label. The ampersand is probably not legal in an LE name. Even if it is "legal", it will cause problems in SDesigner anywhere that the LE name appears on menus or selection lists.
  

Mark Lasersohn&&Programmer&&Lantica Software, LLC
Back to top
IP Logged
 
Carl Underwood
Senior Member
Members
*****
Offline



Posts: 1351
Location: New Hampshire
Joined: Mar 11th, 2003
Re: HOT KEYS
Reply #4 - Feb 2nd, 2015 at 5:13am
Print Post Print Post  
You're not limited to using just the first letter of the label as the hotkey. You can also use things like "Z&illo", which would make the hotkey combination "Alt-I".
  


Carl Underwood
CDU Computer Consulting LLC
Epsom, New Hampshire
Back to top
IP Logged
 
NHUser
Full Member
***
Offline



Posts: 320
Location: Amherst, NH
Joined: Aug 2nd, 2010
Re: HOT KEYS
Reply #5 - Feb 5th, 2015 at 3:25pm
Print Post Print Post  
Thanks for the help!
  
Back to top
 
IP Logged