web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Hotkey

(0) ShareShare
ReportReport
Posted on by 370

Hi

Is there anyway I can catch the keystrokes?

I want to do some action when I enter F1+ a keystroke (.eg. F1G)

 

*This post is locked for comments

I have the same question (0)
  • Community Member Profile Picture
    on at
    Re: Hotkey

    You can override the task method on a form.  There are only some key combinations that you can use (in the Task macro)

    public int task(int _p1)
    {
        #task
        int ret;

        if (_p1 == #taskF1)
        {
            // This happens when the user hits F1
        }

        ret = super(_p1);
    }

  • Nikesh Shah Profile Picture
    5 on at
    Re: Hotkey

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Community Member Profile Picture

Community Member 4

#2
Nayyar Siddiqi Profile Picture

Nayyar Siddiqi 2

#2
NNaumenko Profile Picture

NNaumenko 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans