WebPageSource.EditSource
From Xojo Documentation
Event
WebPageSource.EditSource(ByRef Source as String, Location as Integer)
Supported for all project types and targets.
Supported for all project types and targets.
Allows you to edit the source at runtime. Use Source to supply the HTML, Location tells you where the source will be added as specified by the Location property of the control.
Example
Supply HTML at runtime:
Source = "<p>This HTML was added to the page at runtime.</p>"