Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DoDefault()
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00884980
Message ID:
00885009
Views:
13
Yes, Daniel, that's what I thought. But testing it out with two textboxes, both with SelectOnEntry set to TRUE, but adding
DODEFAULT()
to the GotFocus method of one of them produced different results. The one with DODEFAULT actually got "selected" when I clicked in it. The other didn't.

Also, it seems to me that the "if This.SelectOnEntry" part is unnecessary. With the Dodefault code, if the flag is set to TRUE, then it will select the text, otherwise it won't.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform