Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Text Boxes & Programmatically Highlighting text
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00094112
Message ID:
00094239
Views:
24
>>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
Previous
Reply
Map
View

Click here to load this message in the networking platform