Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX (Archived)

Adjust height of Grid to fit the whole screen

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi,

I need to extend the height of the grid on the MCRItemListTable Form. It only takes up half the screen when the window is in full screen. I want it to fill the screen.

I have tried setting the height property to a number, but this doesn't seem to work. Is there something overriding this or a property I've missed?

Thanks

Niall

*This post is locked for comments

  • Sohaib Cheema Profile Picture
    Sohaib Cheema 46,610 User Group Leader on at
    RE: Adjust height of Grid to fit the whole screen

    Note that if you will fix size of form by numbers like 250 etc, it will NOT work well in a screen of different resolution.

  • Verified answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Adjust height of Grid to fit the whole screen

    I have solved it, It's parent's propertied needed changed. Thanks, for the responses!

  • Sohaib Cheema Profile Picture
    Sohaib Cheema 46,610 User Group Leader on at
    RE: Adjust height of Grid to fit the whole screen

    1) set back the properties of width and height and width to auto

    2) override run() method on form as under

    public void run()
    {
        super();
        WINAPI::FORCEMAXIMIZEWINDOW(element.hWnd());
    }



  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Adjust height of Grid to fit the whole screen

    did you try to Make Height Property as Column Height ?

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

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey Pt 2

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,820 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,514 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans