[Gambas-user] keypress event

ron ronstk at ...239...
Thu Apr 1 00:56:40 CEST 2004


On Thursday 01 April 2004 00:34, ZENODotus wrote:
> A little problem with the capture of keys...
>
> Sinds the parameters in the event keypress are gone I have no Idea how I
> can capture a key to the event?
>
> Is there anybody who can help me...
>
> Thanks

You should use the Key object now, i.e.

IF Key.Code=Key.F1 THEN ..... 

See also gb.qt.Key for it

Ron




More information about the User mailing list