Preventing Multiple Genie Pop-ups

Presently when I click on a genie (a valve, for example) and I keep clicking on it, multiple pop-up pages for that specific genie will come up. How do I limit it so that only one pop up displays per piece of equipment while still allowing other instances of the genie for other pieces of equipment to display a pop-up page?

  • Hi Justin,

    If you use WinNewAt(Page, X, Y, Mode) for opening the pop-up, you can use the Mode argument to do this. Make sure your Mode value contains 512 to prevent opening windows more than once with the same associations. For example: WinNewAt("!MyPopUp", 100, 100, 1+4+256+512)

    Regards,
    Patrick