[Gambas-user] ListView PB

Jean-Yves F. Barbier 12ukwn at ...626...
Wed Jul 22 22:26:12 CEST 2009


Hi,

Base upon TreeView example, I made a popup appear when I left click a tree's
leaf.
It appears, but I can't have my 1st (or other) item automatically selected:
...
    ListView1.X = iX
    ListView1.Y = iY
    ListView1.Add("0", "Ajouter une feuille")
    ListView1.Add("1", "Enlever une feuille")
    ListView1.Add("3", "Aller boire un coup")
    'ListView1.MoveFirst()
    ListView1.Visible = TRUE
    'ListView1.MoveCurrent()
    ListView1.MoveFirst()
...
doesn't work at all

-- 
"The voters have spoken, the bastards ..."




More information about the User mailing list