wwhelp::Preview

Shows a topic in the default browser or optionally in a Web Browser control passed.

This method basically calls RenderTopic() and then displays the result in the default browser.

o.Preview(oWebBrowser)

Return Value

nothing

Parameters

oWebBrowser
Optional - Object reference to an IE Web Browser Control or IE Browser reference. The control will be navigated to a temporary file in the project directory. Calls the Navigate method of the object with a a file URL that contains the generated HTML.

Example

o = CREATEOBJECT("wwHelp.wwHelp")
o.Open("d:\temp\testproject\testproject.hbp")
o.loadtopic("7",2)
o.settemplate()
o.preview()

See also:

Class wwHelp | wwHelp::RenderTopic

© West Wind Techologies, 1996-2023 • Updated: 04/13/05
Comment or report problem with topic