Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Disabled txt boxes?
Message
From
07/06/1999 14:40:07
Brad Stickley
Parker Pneumatic Div. North America
Wake Forest, North Carolina, United States
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Disabled txt boxes?
Miscellaneous
Thread ID:
00227143
Message ID:
00227143
Views:
56
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.
Next
Reply
Map
View

Click here to load this message in the networking platform