Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
RTF Control - Possible to tell formatting of selected te
Message
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01322967
Message ID:
01322985
Views:
21
This message has been marked as the solution to the initial question of the thread.
Mat,

The RTF control has a bunch of Sel* properties like SelUnderline, SelBold, etc that can be used to read or the set corresponded attributes of selected text.

>I'd like be able to double-click on a given word in an ActiveX RTF control and take some action against it. I'm thinking that these "actionable" words will be underlined - similar to a hyperlink.
>
>I think I can get the contents of the clicked-on word easily enough, but can't figure out how I can tell what the formatting codes are for the word. (If it's not underlined, I don't want to take any action against it.)
>
>Anyone done this before? Ideas?
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform