We have reset all users FileMaker related profile fields. Please take the opportunity to update your information,  this will provide background to members whom read your posts. Click here.

Jump to content
adduartes

Recover opening files in the same window

Recommended Posts

adduartes    0

I see that, as a new Filemaker's 16 feature, every fm file opens in a new window instead a unique windows for all files.  This is a good advance but, in some situations, we need to maintain the old behavior.  Is this still possible by any preference o script step?

Edited by adduartes

Share this post


Link to post
Share on other sites
Wim Decorte    443

Not sure what you mean by the old behavior.  Can you describe it a bit better?

The big windowing change is only on Windows where the overall application window (app shell) is no longer there.  But even then each file always opened in its own window.

What is it that you find you can not do anymore?  Minimize the whole application at once?

Share this post


Link to post
Share on other sites
adduartes    0

I mean that, in FM 15 and earlier, if I set the overall application window at a fixed size, all file's opened windows fitted in this overall application window and it was a usefull option, at least for me. 

Now, as you've noticed, each file opens in its own windows and there's no option to use an overall application windows for all files opened.

8 hours ago, Wim Decorte said:

Not sure what you mean by the old behavior.  Can you describe it a bit better?

The big windowing change is only on Windows where the overall application window (app shell) is no longer there.  But even then each file always opened in its own window.

What is it that you find you can not do anymore?  Minimize the whole application at once?

 

Share this post


Link to post
Share on other sites
BruceR    151
Quote

Now, as you've noticed, each file opens in its own windows and there's no option to use an overall application windows for all files opened.

Hooray! Begone, thee vile app window!

Share this post


Link to post
Share on other sites
Josh Ormond    89

@adduartes - I think you are in the slim minority of fans of that 'feature'. I think, as time moves on, you won't miss it.

Share this post


Link to post
Share on other sites
Paul Jansen    3

Whilst I really like the new behaviour on PCs, I too have clients for whom having multiple windows visible will be at best a confusing change and at worst - well who knows (it depends how well I programmed things in the past!)

I guess you could mimic the old behaviour by hiding all windows except the one you want to be active.  Perhaps a script something like this would help

Script: Hide Other Windows

Set Variable [ $activeWindow; Value:Get(WindowName) ] 
Set Variable [ $allWindows; Value:WindowNames ]
Set Variable [ $iMax; Value:ValueCount ( $allWindows ) ] 
Set Variable [ $i; Value:1 ] 
#loop over all windows and close all but active window. 
Loop
  Set Variable [ $window; Value:GetValue( $allWindows ; $i ) ] 
  If [ $window ≠ $activeWindow ]
    #Remember to uncheck "Current file only" for multi file solutions
    Select Window [ Name: $window ]
    Adjust Window [ Hide ]
  End If
  Exit Loop If [ Let( $i = $i + 1 ; $i > $iMax ) ]
End Loop

  • Like 1

Share this post


Link to post
Share on other sites
Josh Ormond    89

It may be less work to use a card window. I'm not exactly sure what you are trying to prevent, or not show.

Share this post


Link to post
Share on other sites
Paul Jansen    3

Josh,

I would guess that Adduartes issue is similar to my own.

Until version 16 I have always run my database windows maximised under Microsoft Windows to avoid the mess that is two sets of window borders and,even worse, the database window half disappearing behind the application window.

So the PC users are used to seeing only a single window at a time.  Clearly 16 offers a whole new world of options for window management on PCs, but, initially, I would want to reproduce the former behaviour in 16 before assessing how to take best advantage of the new possibilities.  One of my clients might end up with close to 20 full screen windows by the end of a day in 16 compared to a single visible window in 15.  Hence my script for hiding all but the active window (I will also need to ensure that windows are lo longer maximised but adjusted to fit instead.)

When I moved for PC to Mac a few years ago it took some time to get used to having so many more windows to deal with and at first it seemed very 'messy' to have so many windows and more difficult to locate the window I was looking for.  

My aim is to ensure the migration to FileMaker 16 is a easy as possible for users and then add any additional windows in a considered and controlled manner.

Hopefully you can now understand the issues that SDI raises for some of us on PCs :) 

FMP-Windows.png

  • Like 1

Share this post


Link to post
Share on other sites
adduartes    0

That's exactly what I've tried to say.

Thanks Paul!

Just now, adduartes said:

 

 

Edited by adduartes

Share this post


Link to post
Share on other sites
Josh Ormond    89

I spent 8 of my 10 years developing on Windows. So I am familiar with the pain.  It may just be a difference in development. I almost never have the user have more than one window open. Unless it's a temporary, comparison driven task, or a customized dialog style window.

You open up a lot of record locking issues with so many windows open. Other than that, the I close windows as the user moves to something else. There are some versions of FM that are just a performance hog. If the windows the user has open are from multiple files, FM is obliged to update the cache files on the local machine for as long as they are open. So for any records that FM has touched, or thought about, or needed to calculate something, it was downloaded to the local cache. When another user updates a record you have downloaded to the cache, FMS sends that record to the local cache. That can become a very chatty network, indeed!! In addition to the performance impact.

Just some thoughts. Not dismissing that it is a big change. But it is one that most users have been asking for, for a long, long time.

  • Like 1

Share this post


Link to post
Share on other sites
Paul Jansen    3

Josh,

 

Thanks, that is an interesting perspective.  I must admit that 20 windows was a worst case scenario and unlikely to happen in general usage; I guess I was trying to emphasise the point :) .  Reflecting on the workflow, most users would need to have 4 windows available but currently only one visible and active.   

Your point about cache updating is very interesting - I shall definitely be looking into this further in this particular solution (which dates back to year 2000 and fp5 file format)

Share this post


Link to post
Share on other sites
Josh Ormond    89

I get exactly where you are at. My first dive into development was taking a system from FMP 4...and reworking the workflow, and adding a ton of features. 

With the capabilities of the modern versions of FM, there may be some opportunities to consolidate that down into a single UI file that reaches out to the other files and uses there data. Classic separation model use-case. Good luck with whatever you decide to do, and if you need tips or have questions. You know where to find us!! lol

  • Like 1

Share this post


Link to post
Share on other sites

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


×

Important Information

By using this site, you agree to our Guidelines.