MaxGUI: Create a HTML page on the fly?

BlitzMax Forums/BlitzMax Programming/MaxGUI: Create a HTML page on the fly?

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

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:
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