2010/1/27 Doriano Blengino :
> Kadaitcha Man ha scritto:
>> 2010/1/27 Benoît Minisini :
>>
>>
>>
>> Doriano, it isn't personal, squire. I have an exquisite understanding
>> of English, which means I can twist it anyway I like :)
>>
>> Doriano, if you and I misunderstand each other, let's make a ge
Kadaitcha Man ha scritto:
> 2010/1/27 Benoît Minisini :
>
>
>
> Doriano, it isn't personal, squire. I have an exquisite understanding
> of English, which means I can twist it anyway I like :)
>
> Doriano, if you and I misunderstand each other, let's make a genuine
> effort to understand in private
2010/1/27 Benoît Minisini :
> The Kadaitcha syndrome apparently :-)
Yeah, look, mate, honestly, I have that effect on people. i really
don't know why. Despite my best efforts to avoid it, it just happens.
I mean, heck, I have been unknowingly having that effect on people
without any kind of inten
2010/1/26 Doriano Blengino :
> Kadaitcha Man ha scritto:
>> 2010/1/26 Doriano Blengino :
>>
>>
>>> This is a more general problem of gambas syntax. Is Listbox1[5] the
>>> sixth element of an array of listboxes, or the sixth element of
>>> Listbox1?
>>>
>>
>> You are confabulating and conflating.
>>
> Doriano Blengino ha scritto:
> > Actually I expressed myself badly. Example:
> >
> > Tree1:
> > - item0
> > - item1
> > - item1.0
> >
> > Tree1.count is 3 (global count)
> > Tree1.Children.count is 2 (tree1 has two children)
> > Tree1.Children[0] is item0
> > Tree1.Children[0].count
Doriano Blengino ha scritto:
> Actually I expressed myself badly. Example:
>
> Tree1:
> - item0
> - item1
> - item1.0
>
> Tree1.count is 3 (global count)
> Tree1.Children.count is 2 (tree1 has two children)
> Tree1.Children[0] is item0
> Tree1.Children[0].count is 0
> Tree1.Children[1
Kadaitcha Man ha scritto:
> 2010/1/26 Doriano Blengino :
>
>
>> This is a more general problem of gambas syntax. Is Listbox1[5] the
>> sixth element of an array of listboxes, or the sixth element of
>> Listbox1?
>>
>
> You are confabulating and conflating.
>
At least, I *think*. You don'
2010/1/26 Doriano Blengino :
> 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
Kadaitcha Man ha scritto:
> 2010/1/26 Doriano Blengino :
>
>> Kadaitcha Man ha scritto:
>>
>>> 2010/1/26 Doriano Blengino :
>>>
>>>
>>>
Actually I expressed myself badly. Example:
>>> Actually, I express myself badly quite often. Example:
>>>
>>> [CENSORED] [C
2010/1/26 Doriano Blengino :
> This is a more general problem of gambas syntax. Is Listbox1[5] the
> sixth element of an array of listboxes, or the sixth element of
> Listbox1?
You are confabulating and conflating.
> I never tried to make array of listboxes
There you go then, hey. So, why do yo
2010/1/26 Doriano Blengino :
> Kadaitcha Man ha scritto:
>> 2010/1/26 Doriano Blengino :
>>
>>
>>> Actually I expressed myself badly. Example:
>>>
>>
>> Actually, I express myself badly quite often. Example:
>>
>> [CENSORED] [CENSORED] [CENSORED] [CENSORED]!
>>
>> :)
>>
>> As for this:
>>
>> [QUOTE
Kadaitcha Man ha scritto:
> 2010/1/26 Doriano Blengino :
>
>
>> Actually I expressed myself badly. Example:
>>
>
> Actually, I express myself badly quite often. Example:
>
> [CENSORED] [CENSORED] [CENSORED] [CENSORED]!
>
> :)
>
> As for this:
>
> [QUOTE]
> Tree1:
> - item0
> - item1
>
2010/1/26 Doriano Blengino :
> Actually I expressed myself badly. Example:
Actually, I express myself badly quite often. Example:
[CENSORED] [CENSORED] [CENSORED] [CENSORED]!
:)
As for this:
[QUOTE]
Tree1:
- item0
- item1
- item1.0
Tree1.count is 3 (global count)
[QUOTE]
Unless y
Kadaitcha Man ha scritto:
> On 26 January 2010 18:58, Doriano Blengino
> wrote:
>
>
>> What about using two different properties: .Count (all the items) and
>> .Children.Count (only the children of a specific node)?
>>
>
> I neglected to mention, your idea does not seem to allow for the co
On 26 January 2010 18:58, Doriano Blengino
wrote:
> What about using two different properties: .Count (all the items) and
> .Children.Count (only the children of a specific node)?
I neglected to mention, your idea does not seem to allow for the count
of root nodes.
-
On 26 January 2010 18:58, Doriano Blengino
wrote:
> Benoît Minisini ha scritto:
>>> Benoît,
>>>
>>> Just for that you should go with the GTK+ way :P
>>>
>>> Regards,
>>> Dimitris
>>>
>>>
>>
>> But is it really useful? We need to know how many root items a TreeView or a
>> ColumnView has, too!
>>
>
Benoît Minisini ha scritto:
>> Benoît,
>>
>> Just for that you should go with the GTK+ way :P
>>
>> Regards,
>> Dimitris
>>
>>
>
> But is it really useful? We need to know how many root items a TreeView or a
> ColumnView has, too!
>
>
What about using two different properties: .Count (all
Ooops,
Correction
on the second example it should read
countMyTreeItems = Treeview1.Count("item2", true)
Sorry guys it's a bit late over here
Regards
Dimitris
On Tue, Jan 26, 2010 at 12:49 AM, Dimitris Anogiatis wrote:
> Benoît,
>
> Perhaps another approach would be to get rid of the Count pr
Benoît,
Perhaps another approach would be to get rid of the Count property and
create a Count method that would count the children of a
given root in the control (and optionally all it's branches).
for example
/ (root)
item1
item2--item3
|-item4
|-item5
|-item6
item7
The
On 26 January 2010 12:44, Dimitris Anogiatis wrote:
> Benoît,
>
> Just for that you should go with the GTK+ way :P
Just for that, he should go with however Windows does it.
Neener! Neener!
:)
--
The Planet: dedicated a
2010/1/26 Benoît Minisini :
>> Benoît,
>>
>> Just for that you should go with the GTK+ way :P
>>
>> Regards,
>> Dimitris
>>
>
> But is it really useful? We need to know how many root items a TreeView or a
> ColumnView has, too!
Perhaps a new property. However, when I need to know such things, I
wr
> Benoît,
>
> Just for that you should go with the GTK+ way :P
>
> Regards,
> Dimitris
>
But is it really useful? We need to know how many root items a TreeView or a
ColumnView has, too!
--
Benoît Minisini
--
The Pl
Benoît,
Just for that you should go with the GTK+ way :P
Regards,
Dimitris
On Mon, Jan 25, 2010 at 5:59 PM, Kadaitcha Man <
nospam.nospam.nos...@gmail.com> wrote:
> 2010/1/26 Benoît Minisini :
>
> > But now I can't decide.
>
> Go with the logic! Go with the logic!
>
>
>
2010/1/26 Benoît Minisini :
> But now I can't decide.
Go with the logic! Go with the logic!
--
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best ne
> Hi everybody,
> I'm still here beacuse I can't understand why the Count property of a
> TreeView changes using qt rather than gtk.
> Now I'm using Gambas 2.19 (on Ubuntu 9.10) from the ppa repo deb
> http://ppa.launchpad.net/madnessmike/gambas/ubuntu karmic main.
>
> I've attached a project exam
Hi everybody,
I'm still here beacuse I can't understand why the Count property of a
TreeView changes using qt rather than gtk.
Now I'm using Gambas 2.19 (on Ubuntu 9.10) from the ppa repo deb
http://ppa.launchpad.net/madnessmike/gambas/ubuntu karmic main.
I've attached a project example.
Usin
26 matches
Mail list logo