[Gambas-user] Children Clear problem
Gianluigi
bagonergi at gmail.com
Mon Sep 24 12:09:52 CEST 2018
> ... Well it was not the subject ... ;-)
Yes, but thank you anyway :-)
> Gianluigi just a little remember:
This is very useful for elderly people like me, you have no idea of the
things that are known and that no longer come to mind, or that come back
occasionally and then disappear. :-(
With best regards
Gianluigi
Il giorno lun 24 set 2018 alle ore 11:37 Fabien Bodard <gambas.fr at gmail.com>
ha scritto:
> Gianluigi just a little remember :
>
> to call an object property it will be :
>
> Panel.Children[n].Clear
>
> But this can't work as Children return Control class objects.
>
> This class have not Clear method.
>
> so to clear all object that need to be cleared in a container:
>
> Dim o as object
>
> for each o in Children
> try o.Clear
> next
>
> Object allow unknown function to be called and try avoid the error if the
> object returned by children have not this property.
>
>
> ... Well it was not the subject ... ;-)
>
>
> Le lun. 24 sept. 2018 à 11:21, Gianluigi <bagonergi at gmail.com> a écrit :
>
>>
>>
>> Il giorno lun 24 set 2018 alle ore 11:07 Fabien Bodard <
>> gambas.fr at gmail.com> ha scritto:
>>
>>> in fact he call the true method to destroy children :
>>>>
>>>
>>> http://gambaswiki.org/wiki/comp/gb.qt4/.container.children/clear
>>>
>>> this is a bug .
>>>
>>> it crash for me in all gtk libs
>>>
>>>
>> I'm sorry,
>> I didn't know the method.
>> Whoever misunderstands, the worse he replies :-(
>> I confirm the malfunction with gtk
>>
>> Regards
>> Gianluigi
>>
>> P.S. Charlie's a friend. I hope he'll excuse me.
>>
>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]----
>>
>
>
> --
> Fabien Bodard
>
> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]----
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gambas-basic.org/pipermail/user/attachments/20180924/1fd003a1/attachment-0001.html>
More information about the User
mailing list