ShowHelpContext Method

Displays the help context topic for the object using WinHelp or HTML Help help viewers.

Syntax

Object.ShowHelpContext()

The ShowHelpContext method syntax has the following parts:

 

Name

Type

Description

Object

Object

An object

Comments

Before you use the ShowHelpContext method, you must set the HelpFile and HelpContextID properties of the Form. Otherwise, Winhlp32.exe will not display the HelpFile topic.

Example

The following statement displays the Help File entry specified for that object:

frm1.ShowHelpContext()

Applies to

Applies to all controls, the AForm, and the AMenu.

See Also

Help, HelpContextID, HelpFile, MsgBox, OnHelpContext, OnWhatsThisHelp, ShowWhatsThis, ToolTipText, WhatsThisButton, WhatsThisHelpID, WhatsThisHelpText, WhatsThisMode