Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Rich Text Box Control
Message
 
À
03/10/2002 01:54:37
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00706737
Message ID:
00707218
Vues:
26
>>>Can we display superscript, subscript text in the Rich Text Box. If so how ? Can we set up command buttons for this purpose ?
>>
>>No. Superscript and subscript are not supported by RTF ActiveX control.
>>
>
>Do you know of any third party activex control that supports them ?

TX Text control, but it seems to be too expensive.
Subscripts and subscripts are supported in HTML, so you can use Web Browser control for viewing. IE5.0 and higher provides HTML editing functionality, which can be enabled by designMode property of Document object:

oleWebBrowser.Document.DesignMode = "On"

HTML editor command IDM_SUBSCRIPT and IDM_SUPERSCRIPT are not currently supported, but IMO you can use IDM_FONT command to open font dialog box and change font for current selection.

Alexander
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform