Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
TextBox Selected Text (VfP5)
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00405391
Message ID:
00405393
Vues:
19
If this needs to be done, don't modify the textboxes, subclass the VFP textboxes and change the subclassed copy (even go to next level and subclass a subclass). Then change the class of the textboxes so they inherit the changes. This is always my first lesson when I do tuition.

>(It can be worked around by saving the SelStart & SelLength values in the processing procedure & resetting in the GotFocus method - but that means modifying all textboxes & this is a customer requested mod. to an existing app. with quite a few forms & the action must be allowed for all text & edit boxes).
Nigel B Coates
NBC Software Services
Dublin, Ireland.
eMail: Nigel.Coates@NBCSoftware.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform