[Gambas-user] Setting default values on a listbox

charlesg charles at ...1784...
Mon Feb 8 09:44:08 CET 2010


Hi

I read the question differently from Werner (probably incorrectly!)

I think you want:

PUBLIC SUB Form_Open()
  DIM j AS Integer
  
  FOR j = 40 TO 50
    ListBox1.Add(Str(j) & "   " & Chr(j), j)
  NEXT 
  ListBox1[5].selected = TRUE
  
END
-- 
View this message in context: http://old.nabble.com/Setting-default-values-on-a-listbox-tp27491841p27496787.html
Sent from the gambas-user mailing list archive at Nabble.com.





More information about the User mailing list