Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Rich Text Box Control
Message
 
To
03/10/2002 01:54:37
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00706737
Message ID:
00707218
Views:
25
>>>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
Previous
Reply
Map
View

Click here to load this message in the networking platform