Maximize a form in Ax

Change the properties width = ‘column width’ and height = ‘column height’ on the form.

Add the following code in the run-method of the form:

#WinApi ; 
super(); 
WinApi::showWindow(this.hWnd(), #SW_SHOWMAXIMIZED);

Comments are closed.