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)

Fullscreen at form opening

(0) ShareShare
ReportReport
Posted on by 6,470

Hi,

How can I set properties so that when form is opened to be fullscreen?

Also I have made a specific shortcut with XML for that form to be opened directly with AX. Maybe it is possible to achieve fullscreen opening via XML? If yes, please guide me how.

Thanks. 

*This post is locked for comments

I have the same question (0)
  • Community Member Profile Picture
    on at
    RE: Fullscreen at form opening

    Hi Vinod,

    What worked for me is that I went to the desing node of the form, opened the form's property sheet and if I remember well I changed one of the sizing properties to POP-UP.Also tried this with code in the init() method -- didn't work. The problem is that if you make the form as pop-up, you will loose the standard toolbar with the save, delete, etc. buttons.

  • Vinod Bhandari Profile Picture
    220 on at
    RE: Fullscreen at form opening

    Hi Alan,

    Could you please tell me how can i change windows type from standard to pop-up, We are facing issue in windows 7 client machine where forms in ax minimizes and we have to maximize each time to work on it.

    Regards,

    Vinod Bhandari

  • Community Member Profile Picture
    on at
    RE: Fullscreen at form opening

    Thank you Denis!

  • Suggested answer
    Community Member Profile Picture
    on at
    RE: Fullscreen at form opening

    Hi all,

    Solved it : In the design properties, I changed the Window type from STANDARD to POP-UP. However, I'm sure this can be done from the code also :)

  • Johnny Profile Picture
    6,470 on at
    RE: Fullscreen at form opening

    Hi,

    not sure, but I think you should do some research on WINAPI class methods.

  • Community Member Profile Picture
    on at
    RE: Fullscreen at form opening

    Hi,

    I am trying to do almost the same thing. I want my form to be blocked in the middle of the screen :)

    Any ideas?
    Thank you!

  • Verified answer
    Denis Macchinetti Profile Picture
    16,444 on at
    RE: Fullscreen at form opening

    Hi

    In the Run method, after super(), try with this code :

    WINAPI::FORCEMAXIMIZEWINDOW(element.hWnd());

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
Martin Dráb Profile Picture

Martin Dráb 2 Most Valuable Professional

#1
Guy Terry Profile Picture

Guy Terry 2 Moderator

#1
Community Member Profile Picture

Community Member 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans