Microsoft KB Archive/193849

= INFO: WhatsThisHelp is Different in Visual FoxPro 6.0 =

Article ID: 193849

Article Last Modified on 8/17/1999

-

APPLIES TO


 * Microsoft Visual FoxPro 6.0 Professional Edition

-



This article was previously published under Q193849



SUMMARY
The WhatsThisHelp function in previous versions of the Help engine provided a small pop-up with Help information. Visual FoxPro version 6.0 uses HTMLHelp, which causes WhatsThisHelp to display the same way as if Help were launched using the F1 key or from the FoxPro menu.



MORE INFORMATION
The following code demonstrates how WhatsThisHelp displays. The code assumes that you have Help set to the FoxPro Help file (either Msdnvs98.col or FoxHelp.chm).

When the form appears, click the WhatsThisHelp icon on the title bar of the form and then click the form. The ShowWhatsThis Help topic should appear.

Sample Code
***Start of Code frmWhatsThisHelp = createobject("xHTMLHelp") frmWhatsThisHelp.show(1)

DEFINE CLASS xHTMLHelp AS form Caption = "WhatsThisHelp" MaxButton = .F.     MinButton = .F.      WhatsThisHelpID = 1342177719 WhatsThisHelp = .T.     WhatsThisButton = .T.   ENDDEFINE ***End of Code

