[Gambas-user] Columnview - how to read?

Fox _root at ...324...
Tue Aug 26 10:14:59 CEST 2008


I'm sorry but I'm getting crazy with a Columnview
I can add items without any problem
But now I want to store data so I must read from Columnview and manage 
the data.

...

  CVmycv.MoveFirst
  FOR i = 0 TO CVmycv.Count - 1
 
      
       S_0 = CVmycv.Item[0]
       S_1 = CVmycv.Item[1]
       S_2 = CVmycv.Item[2]
       S_3 = CVmycv.Item[3]
       S_4 = CVmycv.Item[4]
       S_5 = CVmycv.Item[5]
      
       FMain.CV_additems(S_0, S_1, S_2, S_3, S_4, S_5)
       CVmycv.MoveBelow()

  NEXT

...

The problem is that it moves to the first, but it don't go down
So I have ever the first row.

Maybe I'm missing something...
The help says that:
.MoveAbove
.MoveBack
.MoveBelow
.MoveFirst
.MoveLast
.MoveTo
are referred to the internal cursor and I'm using it
I think that is the same of using a result from a database.

Thankyou ;)



 
 
 --
 Email.it, the professional e-mail, gratis per te: http://www.email.it/f
 
 Sponsor:
 E' iniziata l'era del fax ecologico: si chiama EmailFax. Meno consumi di carta e toner più risparmio di energia e hai invio e ricezione senza limiti. Clicca per saperne di più
 Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=8145&d=26-8




More information about the User mailing list