Using VFP 6.0, I created a form with a large 3-tab Pageframe on it. I finally got around to writing in the field validation rules using the "Valid" method. I did a quick test using just one Textbox by entering an invalid value. I expected to see the message that I put in the ErrorMessage method (Value too large). Instead, I got STUCK in the Textbox. I couldn't escape out or enter a different value. I couldn't go anywhere! I had to use the Windows Task Manager to get out of the thing.
I had a feeling that the error message was underneath the Pageframe and not visible. I did another test using the Lostfocus method on the same Textbox. I told it to print a bunch of X's in the middle of the screen. I didn't see those either. I then told it to print those X's at the top of the form (above the Pageframe). I saw those!
So the obvious question is this ... how do I get the validation messages to show up on top of the Pageframe? The form itself was already set to Alwaysontop = .F.
Tom
I had a feeling that the error message was underneath the Pageframe and not visible. I did another test using the Lostfocus method on the same Textbox. I told it to print a bunch of X's in the middle of the screen. I didn't see those either. I then told it to print those X's at the top of the form (above the Pageframe). I saw those!
So the obvious question is this ... how do I get the validation messages to show up on top of the Pageframe? The form itself was already set to Alwaysontop = .F.
Tom