Hi Guys
About this topics I spent some time and at the end I’m not
able to call by code the standard AX 2012 command in order to Close All Forms,
see picture below.
// Exclude ListPage Forms
If (this.form().formTemplate() != 1
)
{
…..
…..
classFactory.globalCache().set(...
Finally, using the sendMessage WinApi Function I have closed
all Forms, like below :
#WINAPI
……
listIterator ....
WinApi::sendMessageEx( WindowHandle, #WM_CLOSE, 0, 0);
Stay Tuned!
1 comment:
Great solution. I'm trying to learn some microsoft dynamics theory but I see that there is yet a lot of to learn about this great erp :)
Post a Comment