Partager via


WhatsThisHelp Property

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

Form.WhatsThisHelp[ = lExpr]

Return Value

  • 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

Applies To: Form

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.

If Help is set to an HTML Help file, for example, HelpFileName.chm, the Help topic is displayed in the HTML Help viewer. If Help is set to a Windows Help file, for example, HelpFileName.hlp, the Help topic is displayed in a small popup window next to the control.

See Also

Reference

HelpContextID Property (Visual FoxPro)

SET HELP Command

ShowWhatsThis Method

WhatsThisButton Property

WhatsThisMode Method

WhatsThisHelpID Property

Other Resources

Properties (Visual FoxPro)

Language Reference (Visual FoxPro)