LaRetta Posted December 26, 2006 Posted December 26, 2006 I currently track open windows in a User table (as multiline). But I’ve realized that FileMaker does so natively. I would like to take advantage of that feature. I’ve attached a simple file. WindowNames ( Get ( FileName ) ) nicely lists all open windows in the sequence they are accessed (current window always on top). I want to fire a script upon event (window switch) – I’m using SecureFM and can do this now. But, instead of a multiline, I want the window names in repetitions (current window in rep 1, prior window in rep 2 etc). Why? Because I can then display the repetitions individually (as buttons) which can be selected (to grab the value) and return a User to that layout (window), ie, bring that window to the front as selected. But I can't use repetition number (iterations) in the MiddleValues() function to extend out the text values because Extend() only allows a field. If you open new windows (using the window button), you will see how nicely FM handles this for us. After you open some windows, select one of the first windows again (then click REFRESH) ... WindowNames() updates the list and keeps the sequence correct as well. I want a horizontal row of repetitions listing the last five (including the current) of open windows. Using my current method, it works okay; but I don't have a way of displaying the open windows for User selection. That's why I thought of using repetitions; I can even split them into two rows if I wished and grabbing the value would be easy. I suppose I could write to records but reps seem cleaner in this instance. LaRetta NavReThink.zip
comment Posted December 26, 2006 Posted December 26, 2006 How about something simple? NavReThink.fp7.zip
LaRetta Posted December 26, 2006 Author Posted December 26, 2006 YES! YES! YES! I just needed help reThinking it! Thanks, Michael. :wink2:
Raybaudi Posted December 26, 2006 Posted December 26, 2006 .. or even this: GetValue ( WindowNames ; Get ( CalculationRepetitionNumber ) )
comment Posted December 26, 2006 Posted December 26, 2006 That's better, since there's no trailing ¶.
Recommended Posts
This topic is 6603 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