Hi there
In development environment it, if all the dynamics windows floats around the
desktop and the task bar is jammed all the time - this can be very
frustrating it just sucks.
If you want to keep the forms in the AX workspace window (as in AX Version
<= 4.0) modify the ClassFactory.formRunClass() as follow:
X++:
FormRun formRunClass(Args args)
{
FormName formName;
FormRun formRun;
;
if (args.name())
{
formName = args.name();
}
else if (args.object())
{
formRun = SysDictClass::as(args.object(), classnum(FormRun));
if (formRun)
{
formName = formRun.name();
}
}
if (formName)
{
SysUtilElementsLog::registerElementUsed(UtilElementType::Form,
formName);
}
formRun = ClassFactory::formRunClassOnClient(args);
if (formRun.form().design().windowType() == FormWindowType::Standard)
{
formRun.form().design().windowType(FormWindowType::Workspace);
}
return formRun;
}
With that modification you can keep the forms inside the AX main window.
May be you find pleasure to this hack.
Best regards
Patrick