[Gambas-user] Columnview, how to read?

Fox _root at ...324...
Tue Aug 26 10:49:15 CEST 2008


Fox wrote:
> ...
>
>  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.
>   

If I make it using 2 buttons it works...

PUBLIC SUB Button1_Click()
  CVmycv.MoveFirst
END

PUBLIC SUB Button2_Click()
  TextBox1.text = CVmycv.Item[3]
  CVmycv.MoveBelow
END

I push the Button1 to move the internal cursor to the first row,
then when I press Button2 I can see that the command "MoveBelow" works fine.

(Sorry for the double message)

Christian
 
 
 --
 Email.it, the professional e-mail, gratis per te: http://www.email.it/f
 
 Sponsor:
 Nasce il Blog di Email.it - le nostre storie, le tue opinioni
 Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=8137&d=26-8




More information about the User mailing list