wwhelp::OpenForm

This powerful method brings up the Help Builder User Interface. By passing in a search key you can automatically pre-select a specific topic to display to the user. The lookup can be based on the PK, a Topic or the Help ContextId.


o.OpenForm(cLookup,nType,cFilename)

Return Value

nothing

Parameters

cLookup
The value to lookup. This value depends on the type and can be a PK, a Topic or HelpContextId.

nType
The type of lookup that is to be performed on the cLookup parameter.
0 - by primary key (default)
1 - by Topic
2 - by HelpContextId (numeric or character value OK)

cFilename
Optional filename when the form is first called to ensure opening of the appropriate help file. Note this parameter is only applied if the help form is not already active.

All parameters are optional.

Example

lnHelpContextId = loForm.txtInput.HelpContextId

goHelp = CREATEOBJECT("wwHelp.wwHelp")
goHelp.OpenForm(lnHelpContextId,2)

Overloads:


See also:

Class wwHelp | wwHelp::RunWizard

© West Wind Techologies, 2018 • Updated: 11/01/09
Comment or report problem with topic