>>In a Form i Have a
>> an Edit Box
>> an many command buttons
>>I won when i press ESC in the Edit Box the focus go an one Command Button
>>How could I make this.
>>Many Thanks.
>
>Claudio,
>
>Cambia la propiedad .Cancel del CommandButton deseado. Sólo un botón en una pantalla puede tener .Cancel = .T.
>
>Saludos, Hilmar.
... y para aceptar el ENTER, en otro botón, usa la propiedad .Default.
Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)