I do this for Framework Assistant.
Just written a simple 'html' type specifically for generating the html source.
All it consists of is a TList and some Methods for creating the various parts of the HTML source.
Something like this:
Then I use HTMLViewGo to display the page.
For colored text I do this:
I also make use the following tags:
Just written a simple 'html' type specifically for generating the html source.
All it consists of is a TList and some Methods for creating the various parts of the HTML source.
Something like this:
htm.Clear htm.WriteHeader htm.AddText "whatever text here" htm.AddText "more text blah .." htm.WriteFooter htm.Save
Then I use HTMLViewGo to display the page.
For colored text I do this:
htm.AddText "<font color='#0000FF'>I am blue</font>"
I also make use the following tags:
<p> .. </p> for paragraphs <br> line break <hr> horizontal bar/line