Dear Roopkumar,
The control is already set to occupy the entire form using:
Autoheight = True
Alignment = Center
AutoLayout = true
BottomMargin = 8
LayoutMode = horizontal
TopMargin = 70 (I need this because my form is a customized one)
It functions exactly as I want, but as you can see in images, when the user changes the form size horizontally, during some moments, while the gap between the control and the form width is not enough for a new rearrangement, the form shows "margins" between its real size and the layout displayed. It is NOT a problem of the control, I can see this - there is no available space to FlowLayout fulfill these gaps with a new contained button.
What I would like to do (and I can do using the Windows LayoutGrid), is adapt the form width to the (almost) exact Layout width, avoiding any "margin" or gap between the form and the buttons within. Something like:
Form1.width = Layout.Left + Layout.Width + 10
See the images - I guess they can show what I'm talking about more easily.
Just in time: if you set any form's control as CONSTRAINT= FALSE, I can position it at any location, but its ANCHOR property gets lost. It would be great if you could also keep this control property.
Thank you very much for your whole patience and feel free to get more details, if needed.
Kindest regards,
David
Attachment:
sample_eddc40e1.rar