Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Select the text With VFP9 doesn't work
Message
From
27/04/2005 06:57:10
 
 
To
26/04/2005 13:32:00
Bruno Maddalozzo
Informatica Aziendale
Arsie, Italy
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01008374
Message ID:
01008771
Views:
20
Can you explain me the effect of the lines:
Textbox::Gotfocus
and then
NODEFAULT


In addition to what Alex said, the reason that you must execute the base class behavior first, then set SelStart and SelLength and suppress the native base class behavior afterward is that the when the native base class behavior runs, one of the effects is to reset SelStart and SelLength. That is why you use TextBox::GotFocus and NODEFAULT: to control when the base class behavior runs relative to your custom code. The default behavior is for VFP to run any custom code in you method and then run the native behavior (if any) afterward.
Previous
Reply
Map
View

Click here to load this message in the networking platform