Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Selecting all text in textbox
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Divers
Thread ID:
01410308
Message ID:
01410311
Vues:
45
>By request, I have set up behavior in our base class textbox to select all of the text when the control is clicked. This works fine except for one scenario - an input mask where there is a character before the actual stored value.
>
>Example: the textbox's InputMask is set to "(999)" for an area code. When clicking on the control, everything but the opening parenthesis is selected even though SelStart is set to zero. If I tab into the control, then everything is selected.
>
>Any ideas?

See also Re: Clicking/Scrolling within a texbox Thread #1398204 Message #1398206
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform