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:
00227204
Vues:
30
Thanks David that works great - another undocumented command saves the day!

>Thanks David,
>I'll give it a try after I finish rebuilding this PC.
>The registry was so tramatized that I'm rebuilding from the ground up.
>Win 98 is a positive improvement thus far - found the right drivers and all!
>Lot to load yet -
>I hope that NODEFAULT is available in VFP 3.0b!
>
>>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!?!
Edgar L. Bolton, B.S. B.B.A.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform