[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

microsoft.public.axapta.programming

RE: 180.2 Use of function-keys (F1 to F10

Ronald

2/20/2006 10:30:00 AM



"t_seberg" wrote:

> I need to be able to catch a pressed function key in my form, as I might only have a barcode-reader and 10 function-keys on a client-pc.
>
> I know in a menu you can assign at shortcut key to a menu-item E.G. F1, but as
> Ctrl+F6 is next-window Axapta shift to next window instead of assigning the key.
> E.g. if you assign a menuitem Ctrl+F1, then start the menu, then hit Ctrl+F1, Axapta activeates the menuitem. As an unfortunately side effect Axapta activates the Context-Help (normal Ctrl+F1)

You can change the behaviour of a key in a form by overloading the task()
method.

If you don't like dte default behaviour, you can skip the super() call.

Iin the #Task Macro you can find some keys.