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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Dynamics 365 Community / Blogs / Dynamics AX training / How to set focus when first...

How to set focus when first time opening form

VolodymyrMy Profile Picture VolodymyrMy 686

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();
    }

This was originally posted here.

Comments

*This post is locked for comments