If a container field is 'empty' (i.e., I have no picture in it), why can't I get the "enclosing part" to pass the container boundary??
That did it!! Works like a charm.
I've had this same trouble several years ago and was resolved I believe by you!
After pulling my hair out trying to recall the solution I gave the FM Community a shot.
Thank you philmodjunk for coming to the rescue again!
Did you set it to slide up and resize enclosing part?
Did you set the same options for all other layout objects below it in the same part?
Perhaps the container is in a header or footer? (Sliding doesn't work in those parts. )
Just ran a quick test and it does look as if container fields behave a little differently—someone else may be able to confirm (or correct) this. I also tried setting the container to hide when empty (use IsEmpty ( self ) as the hide expression) and this appears to achieve what sliding doesn't.
Sometimes one forgets a key detail. I was playing with this and also seeing a failure to slide until I remembered a key limitation of sliding fields: Fields with center vertical alignment do not slide up and fields with center horizontal alignment do not slide left.
This is especially an issue for container fields for two reasons:
a) their default alignment is for them to be vertically and horizontally centered
b) this option is specified on the data tab for container fields, but on the appearance tab for all other field types.
Bingo! I did know about that centre alignment limitation, but it didn't occur to me in relation to container fields. Many thanks Phil.
And to OP (RbnRbrts), that certainly fixes the issue you are experiencing.
Retrieving data ...