General information
Category:
ActiveX controls in VFP
>>>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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only