[Gambas-user] Writing data in a gridview control

francesco.difusco@libero.it francesco.difusco at ...69...
Thu Sep 9 11:58:54 CEST 2004


> Rather simple, use the "current" keyword. If you named your gridview
> "gv", the thing might read:
>
> 	gv.Row = 2
> 	gv.Column = 2
> 	gv.Current.Text = "hello"
>
> Does this work?

Yes, it works now. But why, if I want to write in six columns, and I use this
for loop

WITH gridview1
.row=0
FOR i=1 TO 6
.column=i
.Current.Text = Format$(estra[i-1],"##")
NEXT
END WITH

it writes only five columns, and the last column is enlarged to fill all the
remaining space on the right?

Francesco






More information about the User mailing list