Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Select the text With VFP9 doesn't work
Message
De
27/04/2005 06:57:10
 
 
À
26/04/2005 13:32:00
Bruno Maddalozzo
Informatica Aziendale
Arsie, Italie
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Divers
Thread ID:
01008374
Message ID:
01008771
Vues:
21
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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform