Skip to main content
K.Daube
Community Expert
Community Expert
Aug 27, 2022 6:40 PM UTC
Question

Window.close()

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 is closed to new replies. Start a new post to keep the conversation going.