Skip to main content

Notifications

Microsoft Dynamics AX (Archived)

Panels in Ax 2012

Posted on by 890

Hi,

      Is there a way we can use the similar kind of functionality that stack Panels have in visual studio .. I want to create a form with a simple filter (text box) and group of Buttons with images (loaded dynamically ) based on the filter data. The buttons should aligned horizontally and vertically. This form will just have these controls.. 

How to do this in Ax 2012 ..?

Thanks 

*This post is locked for comments

  • Suggested answer
    reachnaidu Profile Picture
    reachnaidu 890 on at
    RE: Panels in Ax 2012

    Thank you

  • Suggested answer
    Vilmos Kintera Profile Picture
    Vilmos Kintera 46,149 on at
    RE: Panels in Ax 2012

    Check the suggestion above, the tutorial forms even have an example for dynamically adding controls.

  • reachnaidu Profile Picture
    reachnaidu 890 on at
    RE: Panels in Ax 2012

    Panels.JPG

    I had to search to get one like the attachment. The form will have a filter text box and the buttons displayed like the image attached which are created dynamically based on the filter criteria

  • Verified answer
    Vilmos Kintera Profile Picture
    Vilmos Kintera 46,149 on at
    RE: Panels in Ax 2012

    AX does not support layering form controls above each other. The placeholders are the FormGroupControl, FormTabControl objects, where you could place additional form controls inside.

    Their positioning is determined by how you set up the margins, left and top alignments, their width, and how many columns have you set on the hierarchy parent (your group/tab). You can also define horizontal or vertical alignment in the properties as well if you want to.

    Take a look at AOT > Forms > tutorial_Form* forms, they have a lot of examples on how to align AX controls in various ways, even there is a custom design with an image of a cheque loaded.

    Documentation on the properties:

    msdn.microsoft.com/.../aa845161.aspx

    msdn.microsoft.com/.../formgroupcontrol.aspx

  • André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 291,113 Super User 2024 Season 2 on at
    RE: Panels in Ax 2012

    Hi Sree,

    Do you have a screenshot with an example how it should look like?

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Complete!

🔔 Be sure to subscribe to the new forums you are interested in to stay up to date! 🔔

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 229,918 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans