Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Disabled txt boxes?
Message
De
07/06/1999 14:40:07
Brad Stickley
Parker Pneumatic Div. North America
Wake Forest, Caroline du Nord, États-Unis
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Disabled txt boxes?
Divers
Thread ID:
00227143
Message ID:
00227143
Vues:
57
I have a form that has been working great that was developed on 5.0a, and now that I have upgraded to 6.0 it is giving me some problems.

When I started out the form kept on crashing fox, so I rebuilt the form from scratch. That fixed the crashing problem. However, now I am having txtBoxes that are bound to a table go disabled when they did not do this on 5.0.

I have a txt box on the form that has the following code in the LostFocus event;

SELECT man
SET order to column1
IF ! seek(UPPER(alltrim(this.value)))
MESSAGEBOX("That part is not on Record")
nodefault
this.setfocus
thisform.refresh()
ENDIF

What is happening is that when a number is not found the txtBoxes on the form become inactive. This did not happen in 5.0 and was a surprise for me. Why is fox disabling these txtBoxes when it didn't in the older version?

Thanks in advance for your feedback.
He is there and He is not Silent.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform