[Gambas-user] How detect in ReKeyRelease that user pres e.g. Enter Key
PV
oreip at ...1...
Sun Jun 26 15:40:41 CEST 2005
On 26/06/2005 15:29, Arkadiusz Zychewicz wrote:
> 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?
Try with
IF Key.Code = Key.Return THEN TextBox1.Visible = FALSE
Ciao,
Piero
More information about the User
mailing list