[Gambas-user] RowClick does nothing

Benoit Minisini gambas at ...1...
Mon May 12 22:58:21 CEST 2008


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




More information about the User mailing list