Page 1 of 1

VLF-ONE Arrange Horizontally

Posted: Thu May 03, 2018 5:40 am
by dyates
Is there a way to programmatically arrange panels horizontally?

I'd like to show one business object at a time, with only one instance opened at a time, with the filter/instance list expanded to the width of the screen using avpanemaximized, and when an entry is selected from the instance list, show the command tabs pane below the filter/instance list, also expanded to the width of the screen, and auto tiled horizontally.

I see that the filter/instance pane and the command tab panes can be automatically arranged vertically programmatically, but i could not determine how to do this so that they are auto arranged horizontally.

using the #AVFRAMEWORKMANAGER.avUserCapability.LockAutoTilingOn seems to default to the "arrange vertically" option

Re: VLF-ONE Arrange Horizontally

Posted: Fri May 04, 2018 10:22 am
by MarkD
Re "I'd like to show one business object at a time" do you mean to only every have one visible at a time?
Are you using avUserCapability.ShowSingleObjects.

Re: VLF-ONE Arrange Horizontally

Posted: Sat May 05, 2018 12:15 am
by dyates
Re: "Are you using avUserCapability.ShowSingleObjects."

Yes, I am using that option.

more importantly - I'd like to programmatically arrange the panes horizontally, and expanded to the width of the container, so that the filter/instance list is shown on top, and command tabs below

Re: VLF-ONE Arrange Horizontally

Posted: Sat May 05, 2018 9:49 am
by MarkD
Auto tiles arrange with a bias to vertical.
That's because auto tiling is most commonly used in contexts where multiple business objects are concurrently visible.
So far, in that context, the vertical bias seems to be what most people want to use.
Even with a single business object visible the vertical bias would be the best choice most of time.

So the nub is that there is no current way to change the vertical bias.