Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Screen Level Valid
Message
 
À
24/07/1997 14:37:32
Karl Scheff
California Department of Education
Sacramento, Californie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
FoxPro 2.x
Divers
Thread ID:
00041505
Message ID:
00042043
Vues:
34
The problem is that you have the GATHER MEMVAR code executed before the CLEAR READ code, and thus it is saved before it is checked. 1) Remove the GATHER MEMVAR code from the Save button 2) Have a check for the {Esc} key in the READ VALID, thus: if mod(readkey(),256) # 12 * Esc was not pressed, proceed with validation endif > In Foxpro 2.6 for Windows. I am trying to have a screen level > validation > that checks some things before the screen closes. I entered a logical > statement into the screen valid section of the screen generator. I > also > have some buttons ( for example a save/exit button).. The save exit > button contains: > > GATHER MEMVAR > CLEAR READ > > When the save exit button is pressed the screen level validation > clause IS > NOT executed > > When I press ESC to exit the screen the screen level validation IS > EXECUTED
Paul Russell
EMail: prussell@fox.nstn.ca
Phone: (902) 499-5043
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform