Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How does one select a piece of text in an editbox
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00265959
Message ID:
00267005
Views:
24
>Perfect solution Bill thank you. Any chance you could point me in the right direction for this one?
>
>I have that same edit field, and I want to take just one word and change the forecolor of the font for that one word to something other then what the entire editbox is set for. Is that possible?
>
>Thanks Again.
>
>DJ :o)

Well, the only thing I figure you could do is mess with the highlighted text colors, i.e. make the highlighted text color the "different" color you want then set that text as highlighted using the SelStart, SelLength and SelText properties. But this is kind of kludgy and you'll probably need to keep track of it so you can reset it to normal at some point.

Bill
William A. Caton III
Software Engineer
MAXIMUS
Atlanta, Ga.
Previous
Reply
Map
View

Click here to load this message in the networking platform