[Gambas-user] Removing lines (rows) from GridView
timothy
timothy.marshal-nichols at ...247...
Thu May 24 09:30:56 CEST 2007
For the more general case you might look at my 01 May 2007 entry at
http://www.nabble.com/Gridview-delete-row-tf3672211.html
Thanks
8-{)} Timothy Marshal-Nichols
<mailto: timothy.marshal-nichols at ...247...>
> -----Original Message-----
> From: gambas-user-bounces at lists.sourceforge.net [mailto:gambas-user-
> bounces at lists.sourceforge.net] On Behalf Of Steven Lobbezoo
> Sent: Wednesday, 23 May 2007 07:37 PM
> To: mailing list for gambas users
> Subject: Re: [Gambas-user] Removing lines (rows) from GridView
>
> Hi,
> I did this :
> DIM r AS Integer
>
> WITH GridView1
> FOR r = .Row TO .Rows.Count - 2
> GridView1[r, 0].Text = GridView1[r + 1, 0].Text
> GridView1[r, 1].Text = GridView1[r + 1, 1].Text
> GridView1[r, 2].Text = GridView1[r + 1, 2].Text
> GridView1[r, 3].Text = GridView1[r + 1, 3].Text
> GridView1[r, 4].Text = GridView1[r + 1, 4].Text
> GridView1[r, 5].Text = GridView1[r + 1, 5].Text
> NEXT
> .Rows.Count = .Rows.Count - 1
> END WITH
>
> Steven
>
> Le mercredi 23 mai 2007 20:08, Hamilton Geminiano Andrioli Junior a
> écrit :
> > No i have a grid filled, and i need do remove a line clicked bay the
> > user....
> >
> > how?
> >
More information about the User
mailing list