[Gambas-user] Re: Writing data in a gridview control

Maurice Dumais mdumm at ...647...
Sun Oct 17 18:02:45 CEST 2004


Further to  a post from Francesco in early september  re the above subject
I found a workaround to the last column and last row Settings.
Suppose the gridview is named "gv", it could go as follows:

    gv.Columns.Count=6
    gv.Rows.Count=10

    'Grid cells settings
    gv.Columns.Width=50
    gv.Rows.Height=30

The above leaves the last column and the last row unaffected.
I then specifically set the last column and the last row like this:

    gv.Columns[5].Width=50
    gv.Rows[9].Height=30

It works for me.

Maurice





More information about the User mailing list