Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

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

Recommended Posts

Posted

Hello, all--

I have an unstored calculation field called c_allOpenWindowNames on LayoutA:

WindowNames("myDatabase.fp7")

Obviously, it shows the names of all open windows.

But if a user navigates to one of those open windows before clicking on one of several buttons in LayoutA, he/she will change the window order and that change will not be reflected in c_allOpenWindowNames, yielding an unexpected result when the button is clicked.

So my question is: Is it possible to force the unstored calc to refresh the moment the user switches back to LayoutA --so it accurately reflects the newly changed window stacking order? Hope that makes sense. Many thanks--

Posted

Don't store the data in a clac field, call the function directly in the script or whatever.

Posted

Thanks for your reply, Vaughan--

A few more details:

There are five buttons on the layout. The user will choose/click a button based on what he sees in the c_allOpenWindowNames field. That's why it's critical that this field accurately reflects the current window stacking order before any script is called.

Realizing the limitations of an unstored calc field, I'm not sure this is going to work.

This topic is 6439 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.