Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Text Box Value Bug
Message
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00475397
Message ID:
00476656
Views:
46
Hi Barbara.

>> Actually, I bet I know what you're going to say. <g> Have a property of the textboxclass called something like lGettingFocus. Change the code to:
if this.SelectOnEntry
   this.lGettingFocus = .T.
   Dodefault()
   this.lGettingFocus = .F.
endif
And bracket your Valid code so it only runs if this.lGettingFocus is .F. Am I close? <bg> <<

Actually, having re-read your response, I was going to say that I was mistaken < g >. The DODEFAULT() will not cause the valid of the textbox to fire. I must be getting old. I read DODEFAULT() as SetFocus()! Don't ask me how, but I did. I must be working too hard.

Sorry about that!

Marcia
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform