See Also Example
Form, MDI form, check box , combo box , command button , data control , directory list box , drive list box , file list box , frame , grid , horizontal scroll bar , list box , menu , OLE control , option button , picture box , text box , vertical scroll bar .
Determines an associated context number for an object. Used to provide context-sensitive Help for your application.
[form.][control.]HelpContextID[ = numericexpression ]
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 property, when a user presses the F1 key, Visual Basic automatically calls Help and requests the topic identified by the current context number.
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.
Visual Basic Professional Developer's Edition:
Help Compiler Guide