Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Currency textbox
Message
 
 
To
19/07/2001 19:39:05
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00532527
Message ID:
00532928
Views:
15
>Hi Nadya.
>
>>> Instead of nodefault it should be dodefault(). In this case it works. <<
>
>No, it should be NODEFAULT. The Textbox::GotFocus() runs the native VFP base class behavior. Then, after you set the SelStart and SelLength, you issue the NODEFAULT because the native VFP GotFocus behavior resets these properties.
>
>Marcia

Have you tried it with nodefault? I tried and it didn't work. It didn't select and the focus didn't appear. When I changed nodefault to dodefault(), it worked just fine.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform