Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 7331 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

The solution i'm working on right now will have two main windows:

A navigation window - this is not only the nav menu for the system, but also the nav / functionality window per each table.

the data window.

At any given time, other windows may be open as well, to view a quick list, select from a list, etc etc. I would like to include a button that goes back to the original state of the solution which is having only the main navigation window open on the system navigation layout. Potentially, there could be 5 or 6 windows open at any given time. I would hope not, but it would be possible.

I was thinking i can use an unstored calc set to [windownames]. From there, i can know what windows are possibly open based on the layout / table i'm in. I script to check for those window names within the calc. field. if the pattern count = 1 for a particular window name, than i select that window and close it... Not a huge deal if i only have a few layout possibilities... but, to give you an idea, this solution is one i'm upgrading from 6 and it has about 20 tables in it, most of which will have some sort of UI. So, this type of scripting would be cumbersome and time consuming.

I'm new to 7 and wasn't all that good in 6 or below. So forgive me if this is simple... is there an easy way to close all windows except for one? the main one?

(further design notes. All new windows open up with a pre-determined window name. i have a global field for each possible window name.)

  • 4 months later...
Posted

Hi,

Just tried myself with this today. At least it is close.

May be there are some other ways which is why I answer to this old post actually.

Whenever the user moves from one Layout to the other using the Main Tabs in my Tabbed Interface Application, all windows except the Main one should be closed.

The solution involves a text global gWindowsList and a loop.

SetField[Table::gWindows;RightWords(Substitute(WindowNames & "

This topic is 7331 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.