You have to override SysSetupFormRun.run() method
public void run()
{
;
super();
// Set the color scheme of this
instance of SysFormRUn to RGB
this.design().colorScheme(FormColorScheme::RGB);
// Switch and based on the current
company change colors, or not for default
switch (curext())
{
case 'dat':
this.design().backgroundColor(WinAPI::navisionColorRed());
break;
case '001':
this.design().backgroundColor(WinAPI::navisionColorBlue());
break;
default:
break;
}
}