adyf Posted April 23, 2012 Posted April 23, 2012 On a busy layout that doesn't have room for a portal, can a portal be created to pop up in a certain part of your screen via a trigger of some sort? Would you create a portal on another seperate layout and then resize the layout to the size of the portal?
adyf Posted April 23, 2012 Author Posted April 23, 2012 You can hide the portal in an invisible tab. :^) LaRetta, can you give me a tad more info on your suggestion please?
LaRetta Posted April 23, 2012 Posted April 23, 2012 Oh I'm sorry, yes, I was in a hurry and I thought you could run with it. Here is an example file :laugh2: BusyLayout.zip
Fitch Posted April 23, 2012 Posted April 23, 2012 If you're planning to upgrade to FileMaker 12, you'll have a useful new feature: modal windows. This makes it much simpler to script popup windows, when you don't want the user to close the window or switch windows except via buttons that you provide.
adyf Posted April 24, 2012 Author Posted April 24, 2012 Oh I'm sorry, yes, I was in a hurry and I thought you could run with it. Here is an example file Thanks LaRetta, I'll take this as a compliment! Unfortunately I'm still very much a novice, but hopefully I'm getting there. I need to study the whole $$Variable thing as it doesn't mean anything to me right now. I know you've used a tab, but somehow it has the appearance of a conventional layout. How did you manage that? Interesting concept, thanks for showing me the demo file.
LaRetta Posted April 24, 2012 Posted April 24, 2012 It IS a regular layout. I have placed a tab panel in the center and placed the text field on the first tab and the portal on the second. Then in the tab panel setup, specify 0 px tab (change font to 1 pt) and then make the tab transparent. The script simply sets a global variable $$ with which tab is being displayed and then toggles that variable with 1 or 0 each time it is clicked. If you Edit > Select All ... you will see the handles on the tab control (well outside of the center text field). I do not know how you plan on using it (what is the event which would cause the change) but you can use script trigger to fire it instead of button. :thumbsup:
adyf Posted April 25, 2012 Author Posted April 25, 2012 It IS a regular layout. I have placed a tab panel in the center and placed the text field on the first tab and the portal on the second. Then in the tab panel setup, specify 0 px tab (change font to 1 pt) and then make the tab transparent. The script simply sets a global variable $$ with which tab is being displayed and then toggles that variable with 1 or 0 each time it is clicked. If you Edit > Select All ... you will see the handles on the tab control (well outside of the center text field). I do not know how you plan on using it (what is the event which would cause the change) but you can use script trigger to fire it instead of button. Thanks for the explanation. :thumbup:
Recommended Posts
This topic is 4594 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