See Also Example
Applies To
Form, MDI form
Description
Determines an associated context number for an object. Used to provide context-sensitive Help for your application.
Usage
[form.][control.]HelpContextID[ = numericexpression ]
Remarks
For context-sensitive Help on an object in your application, you must assign the same context number to both the object and to the associated Help topic when you compile your Help file.
If you've created a Windows environment Help file for your application and set the application's HelpFile
The current context number is the value of HelpContextID for the object that has the focus. If HelpContextID is 0, then Visual Basic looks in the HelpContextID of the object's container, and then that object's container, and so on. If a non-zero current context number can't be found, the F1 key is ignored.
Note Building a Help file requires the Microsoft Windows Help Compiler, which is available with the Visual Basic Professional Developer's Edition.
Data Type
Long integer
Help:
HelpFile Property
Visual Basic Professional Developer's Edition:
Help Compiler Guide