0

Close all windows except the active one

Hi,

Is there a way to have a button that closes all the windows except the active one (from which I click on the close button of the other windows)?

 Thanks for your help.

4 replies

null
    • Ninox partner
    • RoSoft_Steven.1
    • 10 mths ago
    • Reported - view

    https://docs.ninox.com/en/script/functions-overview/functions/closeallrecords

    is a function to close all the currently forms.

    Not sure if it'll work, but you can try this:

    let me := this;
    closeAllRecords();
    openRecord(me)
      • Créateur de bien-être
      • Sebastien_Guillet
      • 10 mths ago
      • Reported - view

       thank you. I had not thought to add a line to reopen my window. it works very well.

      • John_Halls
      • 10 mths ago
      • Reported - view

       I REALLY like this. Neat!

    • Mel_Charles
    • 10 mths ago
    • Reported - view

    Simple - Elegant and yet end result = Fantastic !

    My mouse button thanks you 😁

    Thats the beauty of this forum, you get those "why didn't I ever think of that" occurrences !

Content aside

  • Status Answered
  • 10 mths agoLast active
  • 4Replies
  • 90Views
  • 4 Following