Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Text Boxes & Programmatically Highlighting text
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00094112
Message ID:
00094239
Vues:
25
>>Mark,
>>
>>In GotFocus you could be THIS.FontBold = .T. or do some to the BackColor/ForeColor.
>>In the LostFocus you could reset it.
>>
>>-myron kirby-
>>=============================
>>>>>The title says it all, I've been trying to program a text box so if a user tabs into it the text will automatically highlight. Any help or suggestions would be appreciated.
>>>>>
>>>>>Mark A. Struck
>>>>
>>>>Set the .SelectOnEntry to .T. for the text box.
>>>George,
>>>
>>>Thanks for the help but I forgot to qualify my previous message that I'm working with VFP 3.0, which doesn't have this property. Paul's suggestion, for my case, did the trick. Thanks for the help.
>>>
>>>Mark A. Struck
>
>You might also try AfterRowColumnChange then set property to whatever...
>
>Eric K.
How about changing the "format" property to "K". When a user moves to the field it's all highlighted so any typing replaces the current entry, or they press "Home" or "End" to remove the highlight
Sarah King
pcpropertymanager.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform