WhatsThisHelp Property

Applies To   See Also

Specifies whether context-sensitive Help uses What's This help or the Windows help file specified with SET HELP.

Syntax

Form.WhatsThisHelp[ = lExpr]

Settings

lExpr

One of the following:

Setting Description
True (.T.) The form uses one of the three What's This Help techniques to open the Windows help file specified with SET HELP and display the topic specified with the WhatsThisHelpID property.
False (.F.) (Default) The form uses the F1 key to open the Windows help file specified with SET HELP. The Help topic specified with the HelpContextID property is displayed.

Remarks

The three What's This Help techniques are as follows:

  1. A What's This button is displayed in the form title bar. When this button is clicked, the mouse pointer changes to an arrow with a question mark. The Help topic displayed when a control is clicked is specified with the WhatsThisHelpID property for the control.

  2. The WhatsThisMode method is invoked, changing the mouse pointer changes to an arrow with a question mark. The Help topic displayed when a control is clicked is specified with the WhatsThisHelpID property for the control.

  3. The ShowWhatsThis method is invoked for a control. The Help topic displayed is specified with the control's WhatsThisHelpID property.

Note that in Visual FoxPro 6.0, if Help is set to an HTML Help file (for example, Foxhelp.chm), the Help topic is displayed in the HTML Help viewer. If Help is set to a Windows Help file (for example, Foxhelp.hlp), the Help topic is displayed in a small popup window next to the control.