Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid, Not Updating with ThisForm.Refresh
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00380349
Message ID:
00381007
Views:
47
>>The RecordSource is a table, and I am doing the SetFocus from within the StartEdit method. I think where I may be getting into trouble is the fact that the Call Stack starts with the grid txtBox.Valid and then the method gets called under that.
>
>Try moving the all the Valid code to the Lostfocus instead, for now, see if that helps it.



Bruce: Thanks. Moving code to LostFocus helped -- no more error condition. Now I'm getting real close to the form behaving as I want it to. One more little anomaly: When the grid gets the Focus, the txtBox.LostFocus fires again, and the cursor gets advanced to the next field to the right. If I could just get rid of this behavior, it would be as it should. That is, the cursor positioned on the 1st txtBox, awaiting corrected input from the user. TIA.
Chuck Henry
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform