[Gambas-user] How detect in ReKeyRelease that user pres e.g. Enter Key

Daniel Campos danielcampos at ...282...
Sun Jun 26 15:47:03 CEST 2005


I think you want:

IF  Key.Code=Key.Enter THEN TextBox1.Visible = FALSE

Regards,

D. Campos

Arkadiusz Zychewicz escribió:

> in method: PUBLIC SUB TextBox1_KeyRelease()
>
> i try do some like that
>   IF  Key.Enter THEN TextBox1.Visible = FALSE
> or
>   IF  Key.Enter = Key.Text THEN TextBox1.Visible = FALSE
> or
>   IF  Key = Key.Enter THEN TextBox1.Visible = FALSE
> or
>   IF  Key = Enter THEN TextBox1.Visible = FALSE
>
> but this is don't work.
>
> How do it?
>
>
> -------------------------------------------------------
> SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
> from IBM. Find simple to follow Roadmaps, straightforward articles,
> informative Webcasts and more! Get everything you need to get up to
> speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
>





More information about the User mailing list