Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP6 Setfocus from one text box to another
Message
 
À
21/02/2002 08:20:01
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00623078
Message ID:
00623092
Vues:
11
>I Placed this code in a textbox gotfocus method.(the next object in the tab order)
>IF EMPTY (ALLTRIM(THISFORM.TxtSerial1.VALUE))
> THISFORM.TxtSerial1.SETFOCUS
>ENDIF
>
> Instead of passing the focus VFP errors out with
>Can not call setfocus from within a when, valid rangehigh, rangelow event
>
>I know that I used to use this technique in the past
>HEELLPPP

Have you tries putting the code in the When Event?
Caroline
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform