AxAssist

Main Features Downloads Purchase Forum Support  

Features

Contents
  1. All contents

  2. 1. Dynamics AX AOT
  3. 2. Dynamics AX Editor
    1. 2.1. Suggestions
      1. 2.1.1. Variable list
      2. 2.1.2. Variable names list
      3. 2.1.3. Name Matching
      4. 2.1.4. Acronyms
      5. 2.1.5. User list
    2. 2.2 Browsing and navigation code
  4. 3. Hotkeys
  5. 4. Settings
  6. 5. Code reformatter
  7. 6. How to...
    1. 6.1. How to add new button on toolbar
    2. 6.2. How to add new hotkey
    3. 6.3. How to use your text as suggestion
      1. 6.3.1. In User list
      2. 6.3.2. In Acronyms list
    4. 6.4. How to customize tooltips
    5. 6.5. How to set up the auxiliary panel (HelpPane) in Dynamics AX Editor
    6. 6.6. How to start AxAssist after Dynamics AX startup
How to


How to start AxAssist after Dynamics AX startup

If you want AxAssist to start after Dynamics AX startup:
  • Open Classes\Info
  • modify the startupPost() method for Microsoft Dynamics Axapta 3.0 or workspaceWindowCreated() for Microsoft Dynamics AX 4.0 as shown below:

    FormRun formRun;
    ;
    // Put workspace window specific initialization here.
    // if control is pressed - skip

    if(!WinAPI::isControlButtonDown())
    {
        formRun = new MenuFunction(menuItemDisplayStr(DEV_AxAssistForm),MenuItemType::Display).create();
        if(formRun)
        {
            formRun.run();
            formRun.detach();
        }
    }
Also, you can create security key for DEV_AxAssistForm menu item to manage access to this feature.

Note: Unfortunately this code does not work proper on current version of Microsoft Dynamics AX 5.0 (AX2009).
© 2007 - 2008 - axassist.com