RowClick does nothing

View: New views
5 Messages — Rating Filter:   Alert me  

RowClick does nothing

by Pino Zollo :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi

GridView in Gambas 2.5
The following does nothing:

PUBLIC SUB GridVncdxf_RowClick(Row AS Integer)
  STOP = TRUE  
   DEBUG "RowClick ";; Row
   ComboBeacon.Text = GridVncdxf[Row, 1]
   ComboBeacon_Click()
END

The following works fine

PUBLIC SUB GridVncdxf_Click()
   STOP = TRUE
   DEBUG "Click ";; GridVncdxf.Row
   ComboBeacon.Text = GridVncdxf[GridVncdxf.Row, 1].Text
   ComboBeacon_Click()
END


Why ?

Regards
Pino

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Gambas-user mailing list
Gambas-user@...
https://lists.sourceforge.net/lists/listinfo/gambas-user

Re: RowClick does nothing

by Benoit Minisini :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On lundi 12 mai 2008, Pino Zollo wrote:

> Hi
>
> GridView in Gambas 2.5
> The following does nothing:
>
> PUBLIC SUB GridVncdxf_RowClick(Row AS Integer)
>   STOP = TRUE
>    DEBUG "RowClick ";; Row
>    ComboBeacon.Text = GridVncdxf[Row, 1]
>    ComboBeacon_Click()
> END
>
> The following works fine
>
> PUBLIC SUB GridVncdxf_Click()
>    STOP = TRUE
>    DEBUG "Click ";; GridVncdxf.Row
>    ComboBeacon.Text = GridVncdxf[GridVncdxf.Row, 1].Text
>    ComboBeacon_Click()
> END
>
>
> Why ?
>
> Regards
> Pino
>

Do you use gb.qt or gb.gtk?

--
Benoit Minisini

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Gambas-user mailing list
Gambas-user@...
https://lists.sourceforge.net/lists/listinfo/gambas-user

Re: RowClick does nothing

by Benoit Minisini :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On lundi 12 mai 2008, Benoit Minisini wrote:

> On lundi 12 mai 2008, Pino Zollo wrote:
> > Hi
> >
> > GridView in Gambas 2.5
> > The following does nothing:
> >
> > PUBLIC SUB GridVncdxf_RowClick(Row AS Integer)
> >   STOP = TRUE
> >    DEBUG "RowClick ";; Row
> >    ComboBeacon.Text = GridVncdxf[Row, 1]
> >    ComboBeacon_Click()
> > END
> >
> > The following works fine
> >
> > PUBLIC SUB GridVncdxf_Click()
> >    STOP = TRUE
> >    DEBUG "Click ";; GridVncdxf.Row
> >    ComboBeacon.Text = GridVncdxf[GridVncdxf.Row, 1].Text
> >    ComboBeacon_Click()
> > END
> >
> >
> > Why ?
> >
> > Regards
> > Pino
>
> Do you use gb.qt or gb.gtk?

I made a test and it works. If I click on a row header, the row click event is
raised. Otherwise, the gambas database manager would not work!

Regards,

--
Benoit Minisini

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Gambas-user mailing list
Gambas-user@...
https://lists.sourceforge.net/lists/listinfo/gambas-user

Parent Message unknown Re: RowClick does nothing

by Pino Zollo :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Alle 18:57, lunedì 12 maggio 2008, gambas-user-request@...
ha scritto:
> > Do you use gb.qt or gb.gtk?
>
> I made a test and it works. If I click on a row header, the row click event
> is raised. Otherwise, the gambas database manager would not work!
>
 That's why the database manager does not work here !
I have both PostgreSQL and MySQL installed with various databases with filled
tables...
I can open a database, but when I click on a table name appears the clock for
a while and then nothing happens.
I was thinking that the Gambas data base manager was not supposed to open
tables. ;-)
Here I am running Debian 4.0 r3 and Gambas 2.5 from the .deb distribution.

Any more test that I can do ?

salut
Pino

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Gambas-user mailing list
Gambas-user@...
https://lists.sourceforge.net/lists/listinfo/gambas-user

Re: RowClick does nothing

by Benoit Minisini :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On mardi 13 mai 2008, Pino Zollo wrote:

> Alle 18:57, lunedì 12 maggio 2008,
> gambas-user-request@...
>
> ha scritto:
> > > Do you use gb.qt or gb.gtk?
> >
> > I made a test and it works. If I click on a row header, the row click
> > event is raised. Otherwise, the gambas database manager would not work!
>
>  That's why the database manager does not work here !
> I have both PostgreSQL and MySQL installed with various databases with
> filled tables...
> I can open a database, but when I click on a table name appears the clock
> for a while and then nothing happens.

No, that is not related to the RowClick event.

> I was thinking that the Gambas data base manager was not supposed to open
> tables. ;-)
> Here I am running Debian 4.0 r3 and Gambas 2.5 from the .deb distribution.
>
> Any more test that I can do ?
>
> salut
> Pino
>

I suppose that you have something weird on your system installation, as it
seems that you are the only one having all these problems.

What I can suggest now:

* Tell me exactly the problems you have, by describing them -precisely-.

* Try to compile Gambas from sources.

* Try an older version of Gambas to see if you have the same problems.

* Try to find somebody else that uses Debian 4.0 r3 and Gambas 2.5.

Regards,

--
Benoit Minisini

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Gambas-user mailing list
Gambas-user@...
https://lists.sourceforge.net/lists/listinfo/gambas-user
LightInTheBox - Buy quality products at wholesale price