Page 1 of 1
Font size in XbpHtmlViever
Posted: Mon Jun 01, 2015 10:31 pm
by Piotr D
Hi,
It's possible change font size of displayed text within XbpHtmlViever? I know, that I can change this in Internet Explorer, but
how can I set this from an Xbase program?
Regards
Piotr
Re: Font size in XbpHtmlViever
Posted: Tue Jun 02, 2015 4:25 am
by rdonnay
You are viewing everything in a Web Browser, therefore it only understands HTML.
Fonts are established by using HTML tags.
What are you using XbpHtmlViewer for?
Re: Font size in XbpHtmlViever
Posted: Tue Jun 02, 2015 6:37 am
by Auge_Ohr
Piotr D wrote:It's possible change font size of displayed text within XbpHtmlViever ?
do you want to build a Editor with XbpHtmlViever() ?
if yes look at Alaska Newsgroup
Tread open by
Jim Graham
17. Februar 2011
public.xbase++.activex
XBPRTF Class/ Sample
go down to last Msg
Re: XBPRTF Class/ Sample
11. Juli 2011
and look for Diegos XbpHtmlViever() Editor Sample
greetings by OHR
Jimmy
Re: Font size in XbpHtmlViever
Posted: Tue Jun 02, 2015 7:01 am
by Piotr D
Jimmy and Roger,
thanks for your answer. I solved this problem. I use XbpHtmlViewer for my own help system.
Help text are HTML-formated and are saved in DBF/DBT file. I set this text into an XbpHtmlViever object
and. solve problem with font size with adding to original HTML text an: <font size="+1"> ... here original text... </font>
when I want set it bigger or <font size="-1"> ... here original text... </font> when I need smaller font.
Piotr