Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SelLength / SelStart Property VFP 3.0
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00224979
Message ID:
00225724
Vues:
23
Edgar,

Do you mean Editbox? What is probably biting you on your attempts is the automatic call to the Editbox BaseClass behavior at the end of your overridden code. VFP is undoing your setting of the Sel* properties. Do this instead:

*GotFocus method
EditBox::GotFocus() && do the baseclass behavior now
nodefault && prevent automatic call
this.SelStart = 1
this.SelLength = len( this.Value )


>Thanks - but that property is not available to a textbox.
>
>I think maybe I'll find the equivalant to SHIFT-END key-send on got-fucus!?!
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform