[Gambas-user] GRIDEDITOR
Pino Zollo
pinozollo at ...626...
Thu Apr 24 00:06:21 CEST 2008
Alle 10:34, mercoledì 23 aprile 2008, hai scritto:
> Hi,
>Note: I've not actually tested the text area - feedback would be good?
Hi Mr. Gareth,
It works almost....
I tried on a PostgreSQL database on a table of about 4000 records, using
GAMBAS 2.0 .
It opens correctly the grid and shows the contents of the table on 4 columns.
I made the first column 'text', the second 'auto' and 3rd and 4th 'combo'.
A double click on an item of the first columns opens an editor...
I can edit well, but, giving an ENTER all get frozen.
A double click on the 3rd or 4th column the combo appears but
can not be opened clicking on the down arrow. It is possible to edit inside
the field of the combo.
Giving an ENTER all get frozen again.
This is my SUB
PUBLIC SUB grid_Edit()
DIM Row AS Integer = grid.Table.Row
DIM Col AS Integer = grid.Table.Column
SELECT Col
CASE 1
' grid.Show ' <<--- what to put here ?
CASE 3
grid.ShowCombo(["CW", "SSB", "RTTY", "PSK31"], TRUE)
CASE 4
grid.ShowCombo(["10M", "17M", "20M", "30M"], TRUE)
END SELECT
END
Any sugestion ?
Best regards
Pino
More information about the User
mailing list