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 = TRUE > else > Larch.Item.Selected = FALSE > endif > until Larch.MoveNext > endif
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. JY -- Pick another fortune cookie. ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user