Home > X++ stuffs > Form Size Exceeds the Maximum Pixel in Dynamics AX

Form Size Exceeds the Maximum Pixel in Dynamics AX

One of my colleague had a strange warning as stated below in the screenshot.


In order to find the root cause of the issue I designed a form named FormPixelExceeds with Datasource as “Invent Table”.

In the Design – Grid property instead of having Width, Height set to ‘Auto’, we changed the values of fixed width and height value.

When the compiler level was set to 4 it started throwing BP warning stating:
The form size exceeds the maximum of 1280 * 924 pixels. Current size 1296 * 940 (1.25\% * 1.73\%).



In order to fix it we had to reduce the form pixel width & height (i.e. Width: 1000, Height: 650) instead of setting to mentioned value in the screenshot. So any developers reading this article should make sure the form should not exceed the predefined pixel else it would result in BP warning.

There is no hard and fast rule that developer need to assign values to Width, Height instead set those properties to accomodate Column Width/Column Height such that the form does’nt take too much of space on the screen. Hope this piece of information was useful…

Lets welcome AX2012 🙂 in the year 2011 😛

Categories: X++ stuffs
  1. March 9, 2011 at 7:30 am

    Hi Santosh,

    Thanks for the post. But from my experience this BP error appear when your form is not properly scaled or designed exceeding the nominal sizes. Eg We got this error when we designed a form with two large grids placed side to side. The solution generally is not setting the value the hard way but is to redesign or reposition the controls in forms….

    • May 10, 2011 at 4:24 pm

      Yes kamal. But the customer was expecting to redesign the control in forms instead use a setting where he can view properly. We intend the user not to exceed the limited pixel range which will cause the issue

  1. No trackbacks yet.

Leave a comment