Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Getexpr to varName - how can we find button pressed?
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00588551
Message ID:
00588559
Vues:
27
This message has been marked as the solution to the initial question of the thread.
>Hi everybody,
>
>If we use GetExpr to VarName in a code, how can we distinguish between Cancel pressed and clearing expression and hitting Ok? VFP knows this internally (for instance, Index dialog for condition), but how can we catch this in a code?
>
Hi Nadya,

If you clear expession and hit Ok than empty string will be returned into VarName. If you press Cancel than a default expression created with the DEFAULT clause will be returned, if you provide one.
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform