You can add this code to the showContextMenu() of a control :
public int showContextMenu(int _menuHandle)
{
    int ret;
    PopupMenu contMenu = PopupMenu::create(_menuHandle);
    int pouetteValue;

    pouetteValue = contMenu.insertItem("pouette");

    ret = super(_menuHandle);
    
    if (ret == pouetteValue) {
        info("Pouette was selected!");
    }

    return ret;
}

Problem is, you can't really do that to all the form (if that's what 
you want).  You have to do it for every control.

Good luck!

Steeve...

--- In Axapta-Knowledge-Village@yahoogroups.com, mohit rajvanshy 
<[EMAIL PROTECTED]> wrote:
>
> Hi All,
> 
> Need to know that can we add a new entry in standard
> popup menu which will appear when we will right click
> on a form. For ex: Similiar to Create Alert rule.
> 
> Please suggest if you have an idea.
> 
> Thanks in advance.
> 
> Regards
> Mohit
> 
> Regards
> Mohit Rajvanshy
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around 
> http://mail.yahoo.com
>


Reply via email to