Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Where to SetFocus?
Message
De
10/12/1999 11:19:24
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00301727
Message ID:
00301744
Vues:
32
Correct. For example, let's say it was a textbox for numeric values and you didn't want the textbox to lost focus if the value entered was greater than 10. You would have the following code in the Valid:
IF This.Value > 10
   WAIT WIND "Bad value...baaad value!" NOWAIT
   RETURN .F.
ENDIF
>I am not sure I understand.
>
>My code is in the Valid Event. But are you saying to change my RETURN command to RETURN .F. instead of RETURN? And not use a SetFocus command at all?
>
>Please explain a bit more. Thanks.
>
>Steve Kramer
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform