<div dir="ltr">Gianluigi just a little remember :<div><br></div><div>to call an object property it will be :</div><div><br></div><div>Panel.Children[n].Clear</div><div><br></div><div>But this can't work as Children return Control class objects.</div><div><br></div><div>This class have not Clear method.</div><div><br></div><div>so to clear all object that need to be cleared in a container:</div><div><br></div><div>Dim o as object</div><div><br></div><div>for each o in Children</div><div> try o.Clear</div><div>next</div><div><br></div><div>Object allow unknown function to be called and try avoid the error if the object returned by children have not this property.</div><div><br></div><div><br></div><div>... Well it was not the subject ... ;-)</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr">Le lun. 24 sept. 2018 à 11:21, Gianluigi <<a href="mailto:bagonergi@gmail.com">bagonergi@gmail.com</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div dir="ltr"><br><br><div class="gmail_quote"><div dir="ltr">Il giorno lun 24 set 2018 alle ore 11:07 Fabien Bodard <<a href="mailto:gambas.fr@gmail.com" target="_blank">gambas.fr@gmail.com</a>> ha scritto:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">in fact he call the true method to destroy children :<br></blockquote><div><br></div><div> <a href="http://gambaswiki.org/wiki/comp/gb.qt4/.container.children/clear" target="_blank">http://gambaswiki.org/wiki/comp/gb.qt4/.container.children/clear</a></div><div><br></div><div>this is a bug .</div><div><br></div><div>it crash for me in all gtk libs</div></div></div></div>
<br></blockquote><div><br></div><div>I'm sorry,<br>I didn't know the method.<br>Whoever misunderstands, the worse he replies :-(<br>I confirm the malfunction with gtk</div><div><br></div><div>Regards<br></div><div>Gianluigi<br><br>P.S. Charlie's a friend. I hope he'll excuse me. <br></div></div></div></div>
<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" data-smartmail="gmail_signature">Fabien Bodard </div>