Re: [Gambas-user] treeview multiple selection

2009-08-13 Thread Charlie Reinl
Am Donnerstag, den 13.08.2009, 18:55 +0200 schrieb Jean-Yves F. Barbier: > MoveBelow Thanks also, Triscott Jean-Yves, MoveBelow till now i ignored ! Charlie -- Let Crystal Reports handle the reporting - Free Crystal Re

Re: [Gambas-user] treeview multiple selection

2009-08-13 Thread Jean-Yves F. Barbier
Charlie Reinl a écrit : ... > Hallo Jean-Yves, Triscott Charlie > to days lesson THE DEADLOOP : > > set the trv_What.MoveNext after the endif Yes, that's better (and with MoveBelow instead MoveNext, my infinite loop is now astonishly tremendous: it freezes GB completely :) Thanks anyway,

Re: [Gambas-user] treeview multiple selection

2009-08-13 Thread Charlie Reinl
Am Donnerstag, den 13.08.2009, 17:33 +0200 schrieb Jean-Yves F. Barbier: > Jean-Yves F. Barbier a écrit : > ... > > No Werner, that don't work (wanted nb, Str, or Obj, got Fnct instead), > > I'm trying to adapt the base idea with other options, but still no success. > > I tried: > > trv_What

Re: [Gambas-user] treeview multiple selection

2009-08-13 Thread Jean-Yves F. Barbier
Jean-Yves F. Barbier a écrit : ... > No Werner, that don't work (wanted nb, Str, or Obj, got Fnct instead), > I'm trying to adapt the base idea with other options, but still no success. I tried: trv_What.MoveFirst() REPEAT IF Left$(trv_What.Item.Text, 11) = "Tsupplier.a" THEN

Re: [Gambas-user] treeview multiple selection

2009-08-13 Thread Jean-Yves F. Barbier
Werner a écrit : ... > say you have a treeview called Larch. The following stub (untested) > should select all treeview items that begin with "A" and deselect all others > > if not Larch.MoveFirst then > repeat >if Left$(Larch.Item.Text) = "A" then > Larch.Item.Selected = T

Re: [Gambas-user] treeview multiple selection

2009-08-13 Thread Werner
Jean-Yves F. Barbier wrote: > Hi list, > > Is there a possibility to make a multiple selection in a treeview > by program, not by mouse. > > I've got 2 treeviews: 1st is a group list, 2nd is users (only some users are > part of a specific group) > What I'd like is to select all users belonging to a

[Gambas-user] treeview multiple selection

2009-08-12 Thread Jean-Yves F. Barbier
Hi list, Is there a possibility to make a multiple selection in a treeview by program, not by mouse. I've got 2 treeviews: 1st is a group list, 2nd is users (only some users are part of a specific group) What I'd like is to select all users belonging to a group I "mouse-select" to visually show t