[Gambas-user] "no keyboard event data" in gridview Gambas 2.0.0 debian Text

John Dizaro jedsoftware at ...626...
Wed Feb 13 12:23:48 CET 2008


Sorry but  i still have the problem:
PUBLIC SUB GV_t07_carro_KeyPress()
GTK lib
In  gridview do not works as you can see

PUBLIC SUB GV_t07_carro_KeyPress()


  IF key.code = 65293 THEN
    Label12.Text = "qqq"
  ELSE
    Label12.Text = "AAA"
  ENDIF
END
---------------------------------------------------
but in valuebox it works
PUBLIC SUB ValueBox6_KeyRelease()

  IF key.code = 65293 THEN
    Label12.Text = "qqq"
  ELSE
    Label12.Text = "AAA"
  ENDIF

END
---------------------------------------------------------
what is happing?

2008/2/1, Benoit Minisini <gambas at ...1...>:
>
> On jeudi 31 janvier 2008, John Dizaro wrote:
> > I am javing problema with key.code = key.Enter in GRIDVIEW
> > as you can see in Captura_da_tela.png
> >
> > can someone help me?
> > Thanks for all
> > John Evan Dizaro
>
> Key.Enter is a constant. It does not tell you the state of the Enter key.
> You
> must use the properties of the Key class (Code, Text...). Look at the
> documentation of the Key class for more informations.
>
> 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 at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>



-- 
John Evan Dizaro Software - Windows e Linux
O software do jeito que você precisa
Fone: (41) 3333-0303
Fone: (41) 9244-4603
Rua: Alferes Poli Curitiba - PR - Brasil



More information about the User mailing list