[Gambas-user] GRIDEDITOR

Gareth Bult gareth at ...1689...
Fri Apr 25 15:27:29 CEST 2008


Hi,

I'm afraid I've never tried using Postfix ..
To make combo's editable, I think it's a case if switching TRUE to FALSE on your call...

To debug, disable the component in your preferences.
Add the component's source to your project under "classes" ..
Then run ..

You will lose the "design time" display, but you will be able to pause the program inside the grideditor code to see which lines(s) it's having problems with.

Can you try it with MySQL, just to rule out the Database?

Gareth.


----- Original Message -----
From: "Pino Zollo" <pinozollo at ...626...>
To: "Gareth Bult" <gareth at ...1689...>, gambas-user at lists.sourceforge.net
Sent: Wednesday, April 23, 2008 11:06:21 PM GMT +00:00 GMT Britain, Ireland, Portugal
Subject: Re: [Gambas-user] GRIDEDITOR

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