[Gambas-user] treeview multiple selection

Jean-Yves F. Barbier 12ukwn at ...626...
Thu Aug 13 17:33:53 CEST 2009


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
        trv_What.Item.Selected = TRUE
      ELSE
        trv_What.Item.Selected = FALSE
        trv_What.MoveNext()
      ENDIF
    UNTIL trv_What.Item.Key = "HL"    ' 1st Key of tree

I also change ...MoveNext() to ...MoveBelow() but that gives an infinite loop.
But that also don't work (seems there's no possibility to do that)

I let it down for now and keep moving on.

JY
-- 
I think $[ is more like a coelacanth than a mastadon.
		-- Larry Wall in <199705101952.MAA00756 at ...2236...>




More information about the User mailing list