[Gambas-user] TreeView.Count value differs using qt rather than gtk

Kadaitcha Man nospam.nospam.nospam at ...626...
Tue Jan 26 12:35:27 CET 2010


2010/1/26 Doriano Blengino <doriano.blengino at ...1909...>:
> Kadaitcha Man ha scritto:

>>> Tree1 is a TreeView, not a node.
>>>
>>
>> Therefore tv["Tree1"].Count = 2 is still true.
>>
> No, it is false. tv["Tree1"].Children.Count is two.

Take a step back.

If, as you say, tv["Tree1"].Children.Count is two, then, as I say,
"tv["Tree1"].Count = 2 is still true", is true.

HTH




More information about the User mailing list