<div dir="ltr">Yes it work... <div><br></div><div>but this is a bug normally the arrange style might not be the base form one but the one given to the _Container property.</div><div><br></div><div>Actually setting a container to _Container change the arrange property of the given Container ... BUG or Feature ?</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le jeu. 5 sept. 2019 à 21:03, Christof Thalhofer <<a href="mailto:chrisml@deganius.de">chrisml@deganius.de</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hello Fabien,<br>
<br>
Am 05.09.19 um 10:46 schrieb Fabien Bodard:<br>
<br>
> Then this is a demo with the problem. I want to understand why the<br>
> setted container not arrange it's content ...<br>
> <br>
> The event Arrange is raised.<br>
<br>
Maybe you have to do sth like this?:<br>
<br>
Public Sub _New()<br>
Dim hPanel As Panel<br>
Dim hMainPanel As Panel<br>
hMainPanel = New Panel(Me)<br>
> Me.Arrangement = Arrange.Fill<br>
HMainPanel.Arrangement = Arrange.Horizontal<br>
<br>
HPanel = New Panel(hMainPanel)<br>
HPanel.Expand = True<br>
HPanel.Background = Color.Green<br>
<br>
HPanel = New Panel(hMainPanel) As "Container"<br>
HPanel.Expand = True<br>
HPanel.Arrangement = Arrange.Horizontal<br>
<br>
Me._Container = HPanel<br>
End<br>
<br>
<br>
Alles Gute<br>
<br>
Christof Thalhofer<br>
<br>
-- <br>
Dies ist keine Signatur<br>
<br>
<br>
----[ Gambas mailing-list is hosted by <a href="https://www.hostsharing.net" rel="noreferrer" target="_blank">https://www.hostsharing.net</a> ]----<br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature">Fabien Bodard </div>