CHM files are designed to run on their own and not in a form. Atleast I do not know of any control that you can use to display a CHM file in a VFP form. What you can do is use the Microsoft Browser ActiveX control in a form and pass the default HTML page used to create your CHM file to the Navigate2 method of the control.
>Hello:
>
>
> I want to display my help file in modle form, using the folling code:
>
>
> local myform
> myform=createobject('mform')
> myform.show()
>
> set help on
> set help to myhelp.chm
> help in myform
>
> define class mform as form
> showwindow=1
> enddefine
>
> but when myhelp.chm is showing,the form minimized, chm file didn't show in the form, Could you give me any advice? Thank you.
Mark McCasland
Midlothian, TX USA