Access Keys / Keyboard Shortcuts / Mnemonics

I am trying to use the SetAsFunctionKey method and FunctionKeyPress
event to define keyboard shortcuts for window widgets such as buttons on
a Windows 95 client running Forte 3.0.E.
If I add the ampersand (&) to the caption of a button, the letter
following the ampersand is underlined. Normally, in other development
tools such as Visual Basic, if you do this for a button, then clicking
the ALT key along with that one letter automatically fires the Click
event for the button. There is no other coding necessary. I basically
have two questions:
1. Is there a better way of implementing this in Forte, other than using
the SetAsFunctionKey method?
2. If not, I have the following dilemma. My application consists of a
main window and several nested windows. The nested windows do not have
their own event loops, instead, they have Event Handlers that are
registered in the parent window. Both the parent window and its nested
windows need the keyboard shortcuts and would therefore need to register
for the FunctionKeyPress event. The problem is if I register for the
event in the nested window, the registration of that same event in the
parent window is overridden, effectively disabling my ability to process
the keyboard shortcut for the parent window. I am assuming that since
there is only one event loop in this scenario, it is the only one that
receives the FunctionKeyPress event. Is there any way to make this work
without making the parent window aware of all the keyboard shortcuts of
its nested windows?
Van Vuong
Lead Technical Analyst
Office: 972.985.5289
VoiceNow: 972.330.0822
Internet: [email protected]
PAGE NET

You are right Dave, Windows 95 also generates the beep. I just hadn't
noticed it before. If you or anyone else finds a way to suppress this
behavior, please let me know.
Van Vuong
Lead Technical Analyst
Office: 972.985.5289
VoiceNow: 972.330.0822
Internet: [email protected]
PAGE NET
From: Dave Dixson (Ext. 513)[SMTP:[email protected]]
Sent: Friday, October 03, 1997 10:43 AM
To: Van Vuong
Subject: RE: Access Keys / Keyboard Shortcuts / Mnemonics
I am using forte 3E under NT4.
I also can capture the speed key press, but I cant stop the warning
beep that is generated automatically by windows. Maybe this doesnt
happen under win95, or maybe you have the warning beep turned off in
your control panel.
Dave.
-> From: Van Vuong <[email protected]>
To: "'Dave Dixson (Ext. 513)'" <[email protected]>
Subject: RE: Access Keys / Keyboard Shortcuts / Mnemonics
Date: Fri, 3 Oct 1997 08:51:12 -0500
Which version of Forte are you using? I wrote a quick test program using
3.0.E and contrary to the documentation, I am able to capture the
Alt-key shortcut on my Windows 95 client.
Van Vuong
Lead Technical Analyst
Office: 972.985.5289
VoiceNow: 972.330.0822
Internet: [email protected]
PAGE NET
From: Dave Dixson (Ext. 513)[SMTP:[email protected]]
Sent: Friday, October 03, 1997 3:38 AM
To: [email protected]
Subject: Re: Access Keys / Keyboard Shortcuts / Mnemonics
I have also used the SetAsFunctioKey method to implement Alt-Key
shortcuts, but have found that because windows does not recognise my
pretend shortcut, it beeps a warning whenever the Alt-Key combination
is pressed.
Has anyone found a way of stopping this from happening (without
changing the window control panel settings).
Dave.
From: Van Vuong <[email protected]>
To: "'Forte Users Discussion'" <[email protected]>
Subject: Access Keys / Keyboard Shortcuts / Mnemonics
Date: Thu, 2 Oct 1997 18:47:29 -0500
Reply-to: Van Vuong <[email protected]>
I am trying to use the SetAsFunctionKey method and FunctionKeyPress
event to define keyboard shortcuts for window widgets such as buttons on
a Windows 95 client running Forte 3.0.E.
If I add the ampersand (&) to the caption of a button, the letter
following the ampersand is underlined. Normally, in other development
tools such as Visual Basic, if you do this for a button, then clicking
the ALT key along with that one letter automatically fires the Click
event for the button. There is no other coding necessary. I basically
have two questions:
1. Is there a better way of implementing this in Forte, other than using
the SetAsFunctionKey method?
2. If not, I have the following dilemma. My application consists of a
main window and several nested windows. The nested windows do not have
their own event loops, instead, they have Event Handlers that are
registered in the parent window. Both the parent window and its nested
windows need the keyboard shortcuts and would therefore need to register
for the FunctionKeyPress event. The problem is if I register for the
event in the nested window, the registration of that same event in the
parent window is overridden, effectively disabling my ability to process
the keyboard shortcut for the parent window. I am assuming that since
there is only one event loop in this scenario, it is the only one that
receives the FunctionKeyPress event. Is there any way to make this work
without making the parent window aware of all the keyboard shortcuts of
its nested windows?
Van Vuong
Lead Technical Analyst
Office: 972.985.5289
VoiceNow: 972.330.0822
Internet: [email protected]
PAGE NET
DaVE
Triad Group PLC, EMail:[email protected]
GU7 1XE, England. Tel: 01483 860222 X 513
DaVE
Triad Group PLC, EMail:[email protected]
GU7 1XE, England. Tel: 01483 860222 X 513

Similar Messages

  • Flash and HTML Access Keys/Keyboard Shortcuts

    I have a webpage with embedded Flash. I am attempting to use my HTML Access Keys/Keyboard Shortcuts while in the Flash piece, and it will not work until I exit the Flash. Is this normal behavior, or is there something wrong with my code?
    Perhaps HTML  Access Keys/Keyboard Shortcuts do not operate when the user is in the Flash piece?
    Thanks for the help!    

    Would you mind reposting this question over on the Flash Professional forums (http://adobe.ly/XnCf1)?  This forum is primarily for end users, the Pro forums will get you in touch with a wider developer audience.
    Thanks,
    Chris

  • How do you get the hot keys / keyboard shortcuts to work?

    I have the free trial version of Photoshop. I am new to Photoshop, I am just starting to learn how to use it. I notice that some of the shortcuts/hot keys don't work.
    For example, one basic hot key that does not work is the F7-key. The F7-key opens and closes the layers palette.
    Another hot key that does not work is the spacebar. My teacher taught me to hold the spacebar down when you want to move the canvas around. When I am in handtool mode I hold the spacebar down, I then apply pressure on my laptops touchpad, I then slide my finger across my laptops touchpad in order to try and move the canvas, but the canvas does not budge.
    Some shortcuts work. For example, tapping the F-key multiple times will expand and reduce the size of Photoshop.
    Closing my web browser did not resolve the problem. Updating the software did not resolve the problem.
    I am eager to learn Photoshop, but it's hard, and probrably a waste of time, to try and learn Photoshop when some of the softwares hot keys don't work. Anyone have a solution they can offer?
    Thank you,
    Jennifer
    Toshiba X75 / Windows 8 / i7-4700MQ / GeForce GTX770M / 32GB RAM

    hello.. i want to ask your something about your laptop... i am actually planing to buy new laptop.Toshiba X75 or MSI GS70 .. i am not gammer. never play game on laptop last 6 years... my laptop 24hrs on.. and i do design...  so how is your Toshiba X75 performance for designing.. i read on internet. Toshiba X75 have overheating problem.. but the people complain most of them gammer... as i don't play game on laptop.. will i face same thing ?

  • Is there a way to get a list of hot keys / keyboard shortcuts

    There are so many key commands use for technical stuff with Mac, that I would like to get a list of all of them. Does anyone know where to download a list of those shortcuts?

    See http://docs.info.apple.com/article.html?artnum=75459

  • JCalendar and JcomboBox access with keyboard

    Hello guys, What can i do?, ive implemented a JComboBox (this have autocompletion, downloaded of http://www.orbital-computer.de/JComboBox/), and Jcalendar inside a JTable but the problem appear when i try access to typing/input with keyboard in a JComboBox (i cant), this only activate with a mouse, the same ocurr with the next cell (JCalendar), this only activate with a mouse.
    What i need to change in the source code??
    Thanks...

    i'm not sure what you mean by "HTML Access Keys/Keyboard Shortcuts", but your browser's shortcut keys should continue to work.

  • Problem with iPhone and iPad keyboard shortcuts

    When I try to access the keyboard shortcuts in either my iPhone 6+, iPad 3 or iPad Air, the sequence Settings>General>Keyboard>Shortcuts causes the devices to go back to the Home Screen.  I spent several hours in a chat with Apple Support, had to go through an iTunes back up on the iPhone and restored it to "new phone" and it fixed the problem on the iPhone, but not on the iPads.  Chatted again today with Support, tried hard reset (press both buttons till Apple logo appears) on the iPad 3 and I could access the shortcuts.  Did the same on the iPad Air with no luck.
    Now, one hour after second Support chat,  none of the devices can access the shortcuts.  There must be a problem with iCloud for this to be happening on all 3 devices.
    Does anyone have any ideas?

    Same problem also and if I restore both the iPhone and iPad as new I
    lose a lot of progress in my games.

  • New Apple keyboard and the keyboard shortcut tab in prefpane ?

    Hi.
    So I bought a new Apple "slim" kayboard, I'm pretty happy with it. The only thing I don't get is that I can't access the "keyboard shortcut" tab in the Keyboard and mouse prefpane.
    When I click it, the tab turns grey but I can't enter.
    Is it normal?
    ps. of course I didn't the keyboard software update.
    Thanks

    That's really strange. Are you sure this has to do with the keyboard? Does it misbehave even after restarting the compter? If you remove the keyboard and plug in your old one instead, does this area of System Preferences work normally again?

  • Keyboard shortcut crashed

    im using ip6 with ios8.0.2
    My keyboard shortcut kept crashing, every time I clicked the shortcut, the setting just crashed and I tried to restart the device, it still the same...
    can anyone help me with this problem??

    Count me in. I have an iPhone 5S and iPad Mini 2, both running iOS 8.1. The problem of crashing when accessing the keyboard shortcut settings started with on my iPhone and now it's also happening on my iPad. I go to Settings, General, Keyboard, and as soon as I tap Shortcuts, it crashes the Settings app and sends me back to the Home Screen. I'm unable to view or edit my keyboard shorts. When I try to use the keyboard shortcuts, only my old saves work. Can't access to view, add, edit, or delete. Please fix, Apple. I've called about this several times and got the usual runaround about signing in and out of iCloud and even restored my devices. Nothing has worked. Then the reps say they will get back to me and never do. Customer service has seen better days...

  • Keyboard Shortcut Access Text Invitation Window??

    Howdy,
    Nothing major but curious if there is a way to access the window via a keyboard shortcut that appears when another buddy starts a text conversation with you? I'm talking about the window you normally have to click which then shows the block, decline, accept buttons.
    I'm used to being able to access any part of the GUI via the keyboard and would have thought I could access this window. However I've tried control-F4, control-F6, and command-` without any success.
    Ideally I should be able to switch to this window with command-` and then hit enter to accept, command-period to decline and something else to block.
    I can't find anything about this window that's different to other windows. So why can't we use the keyboard to access it. What if i had no hands (and no I dont want to have to use mouse keys).
    So anybody know of a solution.
    Thanks in advance.
    Ben
    Message was edited by: College

    captfred wrote:
    To get to the menubar hold CNTL-FN hit F2. Press spacebar to expand the menu and use the arrow keys to navigate.
    or just start typing the names of the items and it will find the first match.
    Same for when you activate the menu-- type the name of the items and it will start to match immediately.

  • Keyboard shortcut keys

    When I type something on the keyboard it does weird commands When I push the Command, shift, fn, option or control keys, it displays symbols on the screen in the top right corner and makes a cash register type noise? I have to push the key 3 times to make it go away? Is there anyway to shut this off? I'm sure one of my kids must have done some keyboard shortcut.

    Look at System Preferences - Accessibility (Universal Access) - Keyboard - Sticky Keys...
    I'd uncheck the box to turn it on with 5 presses of the shift key.

  • By default, on a mac keyboard F3 lets you see all the open apps and the such. However, I changed it so that I use those keys for keyboard shortcuts; But i'd like the normal F3 key to still work without me having to press FN.

    By default, on a mac keyboard F3 lets you see all the open apps and the such. However, I changed it so that I use those keys for keyboard shortcuts; But i'd like the normal F3 key to still work without me having to press FN.

    rajlego,
    in the Keyboard pane of System Preferences, select the Shortcuts tab, and then select Mission Control on the left-hand side. On the right-hand side, make sure that the Mission Control checkbox is checked, double-click on its current key combination (by default “^↑”) so that the key combination is highlighted, and then press the F3 button — that will set its shortcut to be F3. You can now press F3 to bring up Mission Control without needing to also press the Fn button.

  • Control key combinations in Keyboard Shortcuts

    I want to use the Control key plus letters, such as Ctrl-H, for shortcuts within Keyboard Shortcuts. I appreciate that such combinations are normally used by EMACS but I fail to understand what's happening in the Keyboard Shortcuts section of my Keyboard panel in System Prferences. It allows me to enter the Control key plus letter as my required shortcut but the shortcut never works. Any other shortcut, using other modifiers, even in combination with the Control key works fine. Now I have other utilities, such as FastScripts and Spark that allow me to use such combinations, so why can't they be used in Keyboard Shortcuts?
    If anyone else has this problem and knows of an answer it would be much appreciated!

    Well, the Keyboard Shortcuts panel doesn’t show the warning triangle as shown for other conflicts. Shouldn't the panel reject such key combinations if they're not available? Instead it shows them as being OK. I would have thought it reasonable to use such key combinations in non-EMACS applications anyway. Also, why is it that other utilities make it possible to use them? Most odd. I'll just have to use other methods I suppose!

  • BUG: KEYBOARD SHORTCUT KEYS DO NOT ALWAYS ACTIVATE A SERVICE (A WORKFLOW)

    BUG: KEYBOARD SHORTCUT KEYS DO NOT ALWAYS ACTIVATE A SERVICE (A WORKFLOW)
    When you assign a keyboard shortcut to a Service (such as a Service Workflow created in Automator) using the System Preferences > Keyboard > Shortcuts, if that shortcut key combination includes the Command key, pressing that shortcut will always successfully activate the Service. No problem there.
    However, shortcut key combinations that do not include the Command key (for example, the shortcut key combo Ctrl-Shift-D) WILL NOT activate the Service in any newly opened application, until you click on the Services Menu option in that application.
    As soon as you click on the application's Services Menu, this seems to bind the shortcut key combo to the Service, and thereafter, that keyboard shortcut will activate the Service in that particular app. But if you then quit and reopen the app, you'll find the Service will once again lose its binding to the shortcut key combination and will thus fail to work again.
    This means that shortcut key combinations such as Ctrl-D, Ctrl-Shift-D, F15, Alt-F15, etc are not really viable shortcuts for Services, because they will not work in any newly-opened application until you click on the Services Menu in that application.
    This bug thus greatly limits the shortcuts that you can employ for Services, because you can only reliably use shortcut key combos that contain the Command key. This is a fault that Apple really needs to fix. This is a very old glitch: I notice it is present in Snow Leopard 10.6.8, as well as Yosemite 10.10.1.
    This bug does not apply to application shortcuts, however, or to other shortcuts in the Shortcuts Preference Pane, just to Services shortcuts (including the Mac's default Services, or any Services you make yourself using Workflows on the Automator software).
    To give some examples:
    The following keyboard shortcuts for Services WILL NOT work until you click on the Services Menu in the application you are using (and they will cease working again when you quit and reopen the app):
    Ctrl-X
    Ctrl-Shift-X
    Ctrl-Alt-X
    Ctrl-Alt-Shift-X
    Alt-X
    Alt-Shift-X
    F1, F2, F3, etc
    So until Apple fixes this bug, the above type of key combinations, that do not contain the Command key, are best avoided as shortcuts for Services. It is particularly unfortunate that function keys F1 to F19 do not work reliably, as these would make great single-key shortcuts to Services.
    However, the following sort of keyboard shortcuts for Services, all containing the Command key, once set up will always work without fail:
    Command-Alt-X
    Command-Ctrl-X
    Command-Shift-X
    Command-Ctrl-Shift-X
    Command-Alt-Ctrl-Shift-X
    Command-F1, Command-F2, Command-F3, etc
    So all the above can be reliably used as shortcuts to Services.
    Here X denotes keyboard keys such as A, B, C, 1, 2, 3, =, \, [, etc.
    Note that even for keyboard shortcuts containing the Command key, you may very occasionally need to click the Services Menu to get them to work initially in an application (notably in the System Preferences application itself). But if this is necessary, it is just required once when they are first set up, and thereafter the shortcuts containing the Command key will always work without fail.
    The above was tested on Yosemite 10.10.1, but most likely applies to other versions of OS X as well, as I believe this bug is an old one. This bug is definitely present in Snow Leopard 10.6.8, because I have observed this same fault in an old Mac I have that runs Snow Leopard.
    I have reported this bug to Apple, so hopefully they will see my report and act upon it. However, it might be an idea if others also report this problem of Services shortcuts not working property, to ensure that Apple get the message. You can report a bug to Apple via their bug feedback page here.

    Exactly where do you want to use a GO BACK "shortcut" in Bridge?  Maybe I don't even understand what you mean by Go Back.  Bridge is only a file browser, nothing more. It doesn't open, edit, manipulate or save files at all.
    Are you simply referring to going back to view a folder that you viewed before?
    Please don't take this a criticism.  As someone who will gladly pay money not to have to learn any shortcuts at all, I'm just puzzled and curious, that's all.

  • I used to be able to refresh a page by hitting the F5 key. That does not seem to work anymore. Is there a keyboard shortcut for refresh, or can I create one?

    I used to be able to refresh a page by hitting the F5 key. With 4.0.1, that does not seem to work. Is there a different keyboard shortcut, or can I create one?

    Click the Refresh button on the right hand side of the location bar container on the Navigation Toolbar or press "Ctrl + R" or F5 to reload a web page.
    Reload web page(s) and bypass the cache.
    * Press and hold Shift and left-click the Reload button.
    * Press "Ctrl + F5" or press "Ctrl + Shift + R" (Windows,Linux)
    * Press "Cmd + Shift + R" (MAC)

  • How to define a keyboard shortcut that includes a function key?

    I was trying to set up a keyboard shortcut for a Service in Sys.Prefs -> Keyboard -> Keyboard Shortcuts and discovered that if I attempt to use a function key as a part of the shortcut that it disappears out of the key entry field as soon I click off the item. The keys I press (including an "F#" representing the function key that I've pressed) show up briefly in the field but then go away.
    Entering keystrokes that do not include a function key seem to work fine.
    Function keys are used as a part of many of the default keyboard shortcuts. So is there maybe a trick for entering a function key in the pref pane as part of a user defined shortcut that I just don't know about? Or is this maybe a bug in the pref pane? Or any other explanation for what I'm seeing?
    This is on a Snow Leopard 10.6.3 machine.
    Thanks,
    Steve

    R C-R wrote:
    Function keys are regular keystrokes, just like for letters, numbers, or punctuation marks. Thus, just like the others, you can use them only by themselves or in combination with modifier keys (shift, command, control, & option) in keyboard shortcuts.
    IOW, a valid shortcut would be F4 or command + F4 but not F4 + any regular key.
    It's good to know that regular keys are not allowed with function keys, but it doesn't explain the problem. I initially tried using command + various function keys and when that wouldn't "stick" I tried just various function keys which also wouldn't work.
    And like I said... it looks like it's going to accept the key(s) I press by showing the textual representation of the key in the key field (such as "F4" or "F5") but as soon as I click outside the text field it vanishes.
    The problem was mentioned to me by another person and I was able to duplicate it, so it's not just me or my machine. Just out of curiosity, does it work for you?
    Steve

Maybe you are looking for

  • Business Connector hangs

    Dear all, we have a problem with our business connector. It hangs from time to time so that we have to restart the service. Please have a look at the error logs. Are there other logs which could be helpful? error.log 2009-01-23 00:00:38 GMT+01:00 ---

  • Problem..iTunes duplicates my imported songs

    I've tried to import three different albums and iTunes is duplicating them on import. It is showing the dulipcates in iTunes and when I "show in Finder", there are indeed two mp3 files there. Does anyone know why this is happening? Thanks

  • Reader X, stopped loading, installed XI does not load

    Reader X stopped loading. Decided to install XI. Rebooted PC, but reader still does not load. Removed from Control panel, re-installed, same result. Re-booted PC, control panel selected Repair. No errors, but still does not load. Any suggestions? Tha

  • Php module in apache doen't load

    I've tried to get php running on the apache server on leopard. I've modified the httpd.conf to load the php5 module (removed the #) but when i open a php file, the screen is blank, and the source shows the php code. I tried to stop and restart the we

  • Is 301 a valid cartridge for the HP Deskjet 2515?

    Dear Sir/Madame, My problem is regarding a  HP Deskjet Ink Advantage 2515 PSC that I purchased in Hungary and am using (or at least trying to) in Austria. The standard cartridges, as it says on the machine, are nr 650. However I could not find any in