Как сделать незакрываемую форму, которая стартует при старте Аксапты
взято из TechNet: http://technet.navision.com/workspace.asp?df=1&discid=11796&contribId=2&wso=1
Override form’s Класс/FormRun/canClose to always return false.
Create class that extends Класс/SysStartupCmd and insert this code:
new Menufunction(menuItemDisplayStr(formName), MenuItemType::Display).run();
Note: Earlier I used Fr.run(); ….Fr.wait(); ….and this meant the form could be closed by | Windows | Close All |
Ensure that the form is set to run on client otherwise, the form may not display in 3 tier.