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
    • 8 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
      • 8 mths ago
      • Reported - view

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

      • John_Halls
      • 8 mths ago
      • Reported - view

       I REALLY like this. Neat!

    • Mel_Charles
    • 8 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
  • 8 mths agoLast active
  • 4Replies
  • 85Views
  • 4 Following