buckbuck Posted November 22, 2013 Posted November 22, 2013 When I am posting a new topic on this forum my browser window shows ' Posting New Topic - FMForums '. If I go to window menu this same browser window will appear the same in the drop down list. In my filemaker setup however the windows do not take the name of the layout but the name of the database, and each addltional windo a numeric suffix as in, NAData, NAData - 1, NAData - 2... Is it possible to have the layout name instead? Thanks
Matthew F Posted November 22, 2013 Posted November 22, 2013 Try making a Layout script trigger that executes a script (OnLayoutEnter) with the step: Set Window Title [Current Window; New Title: Get(LayoutName)] 1
Gilbert Osmond Posted November 22, 2013 Posted November 22, 2013 You will need to use a script step to control window titles. You can set a window title as part of a "Go To Related Records" script step (if you check "Show in new window,") or, there is a separate "Set Window Title" script step which can also be used. You can set static values in either of these, or use calculations & variables to set a window name based on other fields & status info in your solution.
buckbuck Posted November 23, 2013 Author Posted November 23, 2013 Thank you for the replies. Frankly the replies suggest a rather bad oversight from the Filemaker creators since this functionality is common place elsewhere. Something Filemaker Inc should fix in the near future methinks.
LaRetta Posted November 23, 2013 Posted November 23, 2013 I'm not sure why you say that. FileMaker offers more flexibility by proving us the ability to name the windows anything we wish even according to calculations based upon the data. What more could you want?
Lee Smith Posted November 23, 2013 Posted November 23, 2013 .. snip.. Frankly the replies suggest a rather bad oversight from the Filemaker creators since this functionality is common place elsewhere. Something Filemaker Inc should fix in the near future methinks. Your screen shot shows exactly what I would expect when creating a new window from the menu bar or by not properly supplying it in script step. Please supply us with the name of the database application that has a different way of doing this, i.e. like you have alluded to in your post. Lee
bruceR Posted November 24, 2013 Posted November 24, 2013 Thank you for the replies. Frankly the replies suggest a rather bad oversight from the Filemaker creators since this functionality is common place elsewhere. Something Filemaker Inc should fix in the near future methinks. There are so many perspectives on the features Filemaker "should" have. I doubt very much that this feature is on many wish lists, and most would probably ask to turn it off. If it is a feature YOU want in your application, it is easy enough to achieve, as previously described.
Rick Whitelaw Posted November 24, 2013 Posted November 24, 2013 I'm quite happy with the way FM handles window names. Completely flexible and dead simple to implement. It's a two minute job to have the window title be whatever you want. Edit. And if you name your tables well you can use the same script snippet for all layouts using Get(LayoutTableName).
buckbuck Posted November 25, 2013 Author Posted November 25, 2013 Maybe I am missing something here. My example was the fmf website but perhaps here the name of the active window I see displayed in the menu drop down window list is a script step in the web design program. Based on what little I know, my humble opinion is that by default the menu name displayed when I create a new window should be the layout name. Then when I want to skip between windows I know what is on offer. Not a list like I showed in the attachment. Of course I am a novice so perhaps a more experienced designer would think otherwise.
comment Posted November 25, 2013 Posted November 25, 2013 Based on what little I know, my humble opinion is that by default the menu name displayed when I create a new window should be the layout name. I am not saying your suggestion doesn't make sense at all - but it has a set of problems of its own. When you open a new window, you are by default on the same layout as the "old" window. So instead of having two windows named "YourSolution" and "YourSolution-2" you would have "YourLayout" and "YourLayout-2". Not much of an improvement, IMHO. But it gets worse: going by your logic, switching to another layout should automatically change the window name. It would be very difficult to manage multiple windows in scripts, if they kept changing names and suffixes like that. The logic behind the current arrangement is that Filemaker does the minimum possible on its own and lets the developer assume control. I think you'll find the same logic applied in other areas as well. 1
Lee Smith Posted November 25, 2013 Posted November 25, 2013 ... My example was the fmf website ... Please spell out the abbreviations that could have multiple meanings. What are you referring to with "fmf website”? FileMaker files? FMFourms? or some other thing.
Recommended Posts
This topic is 4014 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 accountSign in
Already have an account? Sign in here.
Sign In Now