Font size in XbpHtmlViever

This forum is for general support of Xbase++
Post Reply
Message
Author
Piotr D
Posts: 131
Joined: Mon Jul 28, 2014 1:26 am
Location: Poznań, Poland

Font size in XbpHtmlViever

#1 Post 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

User avatar
rdonnay
Site Admin
Posts: 4775
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Re: Font size in XbpHtmlViever

#2 Post 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?
The eXpress train is coming - and it has more cars.

User avatar
Auge_Ohr
Posts: 1422
Joined: Wed Feb 24, 2010 3:44 pm

Re: Font size in XbpHtmlViever

#3 Post 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
greetings by OHR
Jimmy

Piotr D
Posts: 131
Joined: Mon Jul 28, 2014 1:26 am
Location: Poznań, Poland

Re: Font size in XbpHtmlViever

#4 Post 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

Post Reply