WhatsThisMode Method

Changes the mouse pointer to the What's This pointer and prepares the application to display What's This Help on the selected object.

Syntax

Object.WhatsThisMode()

The WhatsThisMode method syntax has the following parts:

 

Name

Type

Description

Object

AForm

AForm object

Comments

Executing the WhatsThisMode method places the application in the same state you get by clicking the What's This button in the title bar. The mouse pointer changes to the What's This pointer. When the user clicks an object, the WhatsThisHelpID property of the clicked object is used to invoke context-sensitive Help. This method is especially useful when invoking Help from a menu in the menu bar of your application.

Example

The following statement changes the AForm so causes the mouse pointer to change into the What's This pointer and prepares the application to display What's This Help on the selected object:

frm1.WhatsThisMode()

Applies to

AForm

See Also

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