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
    • 1 yr 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
      • 1 yr ago
      • Reported - view

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

      • John_Halls
      • 1 yr ago
      • Reported - view

       I REALLY like this. Neat!

    • Mel_Charles
    • 1 yr 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
  • 1 yr agoLast active
  • 4Replies
  • 94Views
  • 4 Following