content pane background change

how to change content pane background in ax2012

Not possible but have a look at this:

palleagermark.blogspot.com/2011/12/color-code-forms-in-ax-2012-depending.html

sorry yaar, i couldnt open the link…could u plz tell in detail…

sry yaar…couldnt open the link…could u plz explain in detail …

sorry i am not able to open the link.

Please find the below screenshot for the same

Thanks & Regards,

Britto John Baskar.A

If we want to change the background color with the form color… in RGB ColorSchema, we cannot do this, because in the BackgroundColor property, only have a color selection…

If we want to to this, we must to do it by x++ code in the init method of the form (before that, we must to change the AutoDeclaration property of the StaticText to Yes):

#WinAPI
public void init()
{
int red,green,blue;
;

super();

[red,green,blue] = WinApi::getSysColor(#COLOR_BTNFACE);

StaticText.backgroundColor(WinApi::rgbCon2int([red,green,blue]));
}

http://www.dynamics-blog.com/2011/09/change-text-background-color-with-form.html