Lawlerdev Posted April 10, 2012 Posted April 10, 2012 Is it possible to slide a container field/text field left so that if there is nothing in the container field the text field to the right will slide left ignoring the empty container field?
Ocean West Posted April 10, 2012 Posted April 10, 2012 Stephen, sorry objects such as web viewers, containers, and objects with borders or text aligned to middle or bottom don't play nice with sliding.
Lee Smith Posted April 10, 2012 Posted April 10, 2012 I'm not sure I understand what you're trying to accomplish or why. Perhaps you could switch to container field with the text field so you don't have an orphan of text to the right of where the container field resides. In a similar situation, I make the container field disappear (although it's still there) by having it with no fill when empty. I can't remember if version 8 had conditional formatting are not, but if it does you can do some remarkable stuff when it comes to hiding stuff when you wanted to be not seen. If FileMaker did allow you to slide your text field past the empty container, wouldn't that misaligned things above and below? Lee
eos Posted April 25, 2012 Posted April 25, 2012 If you really need this effect and don't worry about cluttering your database schema (or your layout), create two calculation fields, only one of which is filled at a time with the text from the original field, depending on the state of the container field. On the layout, place the one that is empty when there is an image over the container field, and the other one to the right of the container field. This will give you a kind of pseudo-sliding. Maybe add some conditional formatting, as suggested by Lee Smith, and this should do the trick.
IdealData Posted April 25, 2012 Posted April 25, 2012 Try setting the container positioning to TOP and LEFT.
Ron Cates Posted April 25, 2012 Posted April 25, 2012 Maybe not feasable in your situation, but how about two seperate layouts. If you're arriving there by script you could just goto one layout if the container is empty and the other if it isn't.
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