Newbies Kimbakat Posted August 18, 2011 Newbies Posted August 18, 2011 ...I would like to return to a specific OBJECT after I edit a layout. How do I use script triggers (or any script) to make sure the "TAB" / object I was working on in Layout mode..returns me right back to the object I was editing. I already have a field setting the current or last used TAB/OBJECT.....but unable to go to this object when I exit Layout mode. Anyone?
Fitch Posted August 18, 2011 Posted August 18, 2011 You could probably set a global variable to the frontmost tab name with an OnModeExit trigger, and then use that to go to the tab with an OnModeEnter trigger. Or you could just use the tab object options to set the default tab to the one you're working on (but remember to set it back when you're finished).
David Jondreau Posted August 19, 2011 Posted August 19, 2011 Filemaker isn't built to automate actions around layout editing. You could make an OnModeEntry script, but I don't think you'll be able to distinguish between coming from Layout Mode versus from any other mode. Unless you have an OnModeExit script when leaving Find or Preview that clears that variable and you never go from Find or Preview to Layout. You could make the tab the frontmost tab. If it's not supposed to be when users are using it, change it back when you're done editing the layout. I'm guessing you're working with some heavily nested tabs and I think you're out of luck.
Recommended Posts
This topic is 5118 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