Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Returning False from Valid
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Returning False from Valid
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01360554
Message ID:
01360554
Vues:
57
I have a form (more than one, I'm sure) where a textbox is used to enter a value, the system looks up the value in a table, and populates a grid with some information from the record that is located. If data was entered, I return false so that the user can continue to enter values. If no data was entered, I return true so that the user can exit the control. This is done via the Valid method. It works like a champ. Now I am developing another form where I am using that same technique and, although it works, I get a beep and an "Invalid input" wait window when I return false. Actually, I believe this latter behavior is the std. behavior. The odd thing is that I don't know why I'm not getting it on the first form. I'd like to get rid of that behavior and have it work like the first form. I don't have anything in my base class that would affect this. Does anyone know why I might be getting the different behaviors?

Thanks,

Russell Campbell
eCost.com continues to rip people off
Check their rating at ResellerRatings.com
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform