Re: [Gambas-user] TreeView item focus

2009-08-23 Thread Jean-Yves F. Barbier
Ron_1st a écrit : ... > But anyway you must know indeed what you search for and that > is not always easy. Yes Ron_1st, this is the problem when you don't master all aspects. An overall schema should be fine, but I'm not sure it could be easy to setup. Regards JY_last -- Raising pet electric eel

Re: [Gambas-user] TreeView item focus

2009-08-23 Thread Ron_1st
On Sunday 23 August 2009, Jean-Yves F. Barbier wrote: > Laurent Carlier a écrit : > ... > >> I can learn quite fast, but not out of nowhere. > >> > >> JY > > > > Perhaps here: > > http://64.128.110.55/help/lang/last > > > > "Returns a reference to the object that raised the last event" > > yaah:

Re: [Gambas-user] TreeView item focus

2009-08-23 Thread Ron_1st
On Sunday 23 August 2009, Jean-Yves F. Barbier wrote: > Fabien Bodard a écrit : > > you can do that by hand ! > > > > no ? > > > > in TreeView_Expand() > > > > Last.Item.Selected=true > > Ok Fabien, thanks it is working :) > > but I didn't find any reference to that in the documentation: eve

Re: [Gambas-user] TreeView item focus

2009-08-23 Thread Jean-Yves F. Barbier
Laurent Carlier a écrit : ... >> I can learn quite fast, but not out of nowhere. >> >> JY > > Perhaps here: > http://64.128.110.55/help/lang/last > > "Returns a reference to the object that raised the last event" yaah: on the site, but NOT existant into the package's docs :( -- --

Re: [Gambas-user] TreeView item focus

2009-08-23 Thread Laurent Carlier
Le dimanche 23 août 2009 14:24:35 Jean-Yves F. Barbier, vous avez écrit : > Fabien Bodard a écrit : > > you can do that by hand ! > > > > no ? > > > > in TreeView_Expand() > > > > Last.Item.Selected=true > > Ok Fabien, thanks it is working :) > > but I didn't find any reference to that in the docum

Re: [Gambas-user] TreeView item focus

2009-08-23 Thread Jean-Yves F. Barbier
Fabien Bodard a écrit : > you can do that by hand ! > > no ? > > in TreeView_Expand() > > Last.Item.Selected=true Ok Fabien, thanks it is working :) but I didn't find any reference to that in the documentation: even a grep didn't return anything:( grep -R "Last.Item" /usr/share/gambas2/help/

Re: [Gambas-user] TreeView item focus

2009-08-23 Thread Ron_1st
On Saturday 22 August 2009, Jean-Yves F. Barbier wrote: > Fabien Bodard a écrit : > > you can do that by hand ! > > > > no ? > > > > in TreeView_Expand() > > May be, I'm gonna dig this possibility (I don't already know all about > widgets, so I still miss some skills) > > But @ first glance I d

Re: [Gambas-user] TreeView item focus

2009-08-22 Thread Jean-Yves F. Barbier
Fabien Bodard a écrit : > you can do that by hand ! > > no ? > > in TreeView_Expand() May be, I'm gonna dig this possibility (I don't already know all about widgets, so I still miss some skills) But @ first glance I don't know what could change as I'll trigger this event each time I expand a br

Re: [Gambas-user] TreeView item focus

2009-08-22 Thread Jean-Yves F. Barbier
Doriano Blengino a écrit : > Doriano Blengino ha scritto: >> Jean-Yves F. Barbier ha scritto: >> >>> Hi list, >>> >>> Is it normal that expanding a branch in TreeView doesn't give focus to the >>> root >>> item of this branch (it stays on TreeView root), as this prevents >>> forbidding an >>

Re: [Gambas-user] TreeView item focus

2009-08-22 Thread Fabien Bodard
you can do that by hand ! no ? in TreeView_Expand() Last.Item.Selected=true On some case we don't want to change the item selected so by default it is better like that 2009/8/22 Jean-Yves F. Barbier <12u...@gmail.com>: > Benoît Minisini a écrit : >>> Hi list, >>> >>> Is it normal that

Re: [Gambas-user] TreeView item focus

2009-08-22 Thread Doriano Blengino
Doriano Blengino ha scritto: > Jean-Yves F. Barbier ha scritto: > >> Hi list, >> >> Is it normal that expanding a branch in TreeView doesn't give focus to the >> root >> item of this branch (it stays on TreeView root), as this prevents forbidding >> an >> expand under conditions? >> >> JY >>

Re: [Gambas-user] TreeView item focus

2009-08-22 Thread Jean-Yves F. Barbier
Doriano Blengino a écrit : > Jean-Yves F. Barbier ha scritto: >> Hi list, >> >> Is it normal that expanding a branch in TreeView doesn't give focus to the >> root >> item of this branch (it stays on TreeView root), as this prevents forbidding >> an >> expand under conditions? >> >> JY >> > T

Re: [Gambas-user] TreeView item focus

2009-08-22 Thread Jean-Yves F. Barbier
Benoît Minisini a écrit : >> Hi list, >> >> Is it normal that expanding a branch in TreeView doesn't give focus to the >> root item of this branch (it stays on TreeView root), as this prevents >> forbidding an expand under conditions? >> >> JY > > Expanding a branch should not change the focused i

Re: [Gambas-user] TreeView item focus

2009-08-22 Thread Doriano Blengino
Jean-Yves F. Barbier ha scritto: > Hi list, > > Is it normal that expanding a branch in TreeView doesn't give focus to the > root > item of this branch (it stays on TreeView root), as this prevents forbidding > an > expand under conditions? > > JY > The only thing I can say is that when I fi

Re: [Gambas-user] TreeView item focus

2009-08-22 Thread Benoît Minisini
> Hi list, > > Is it normal that expanding a branch in TreeView doesn't give focus to the > root item of this branch (it stays on TreeView root), as this prevents > forbidding an expand under conditions? > > JY Expanding a branch should not change the focused item. Why ? And please remind us if y

[Gambas-user] TreeView item focus

2009-08-22 Thread Jean-Yves F. Barbier
Hi list, Is it normal that expanding a branch in TreeView doesn't give focus to the root item of this branch (it stays on TreeView root), as this prevents forbidding an expand under conditions? JY -- -- Let Crystal R