Skip to main content
K.Daube
Community Expert
Community Expert
August 27, 2022
Question

Window.close()

  • August 27, 2022
  • 0 replies
  • 113 views

Hi friends and experts,

In my script FMfindRepl I have noticed that win.close() 

  • closes the palette window
  • leaves its status active

Hence any Nofify reaction addressing an element of the UI will re-open the panel.

Hence I have changed in the Notify function

if (wPalF.active) { ..

to

If (wPalF.visible) { ...

 IMHO close() should inactivate a window - but there are comments in various forums about the close() issue which lets me assume that something is incorrect with this method.

This topic has been closed for replies.