Friday, 8 June 2012

How to set focus when first time opening form


Override method firstField on a form, and call after super method setFocus of a control which should focused after form is opened. Example:
    public void firstField(int _flags=1)
    {
        ;
        super(_flags);
        MyControlName.setFocus();
    }


Copied from Experts website....... Dynamicsaxtraining.
You can always reach me at axapta4all@gmail.com
Anonymous Axaptian  

No comments:

Post a Comment