Modal windows

Kyle,

Thanks for your help. I was speaking to Travis about another point when I mentioned your idea. He came back with a development to stop access to any controls on the background window while the popup is open.

  1. Develop your popup as a maximised window, with all controls in a container with a coloured background.
  2. Put the following script in the window’s internalFrameActivated event:

window = fpmi.gui.getParentWindow(event) window.setOpaque(0)
3. Set the layer of the popup window to a value greater than the background window.

Now when the popup is displayed, you can still see the background window , but you cannot click on any of its controls.

Al