Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
RTF Control - Possible to tell formatting of selected te
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Divers
Thread ID:
01322967
Message ID:
01322985
Vues:
22
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--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform