Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Moving trough form controls
Message
De
17/12/1997 05:58:33
Stoyka Kurteva
Busoft Engineering Ltd.
Bourgas, Bulgarie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00066143
Message ID:
00066476
Vues:
35
Thank you Jim
Stoyka

>> I have a text box txtNameE on a form
>> when txtNameE is the active control and txtNameE.value = "" I've pressed BackSpace key then the previous control got the focus.
>>
>Stoyka,
>
>So what you want is to prevent the backspace key from going backwards then? You can do this in your textbox keypress event, this will be much easier if you are using classes for your controls. In the keypress you would need code like this;
>
> IF EMPTY(THIS.Value) AND nKeyCode = 127 && the backspace
> NODEFAULT
> ENDIF
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform