CloseComponent does not seem to work

If you have questions or if you want to share your opinion about Aware IM post your message on this forum
Post Reply
BLOMASKY
Posts: 1470
Joined: Wed Sep 30, 2015 10:08 pm
Location: Ocala FL

CloseComponent does not seem to work

Post by BLOMASKY »

On page 45 of the rules reference:

EXEC_SCRIPT ‘AwareApp.closeComponent(parser.m_widgetInfo,false,false);‘

The above script, for example, will close the current form or query if the process that contains this action has been started from the form or query.

I have a popup query with an operation with records. I add this line of code to the process I am calling and it does NOT close the popup window. Anyone else try this? Any suggestions?

Thanks
Bruce
BLOMASKY
Posts: 1470
Joined: Wed Sep 30, 2015 10:08 pm
Location: Ocala FL

And, the answer is, put the following in the process

Post by BLOMASKY »

EXEC_SCRIPT 'AwareApp.m_curPopupWindow.window.close();'
Post Reply