>Hi,
>
>We have devised a help system for our product and we use helpcontextid property of that particular form to call context sensitive help on pressing F1 for all the forms. Now everything goes fine if the form is a modal form.
>
>If the form is modeless than when we press F1 the default help is displayed and help doesnot take to that specific context. If i change the same form to a modal form than it works fine.
>
>Any ideas what could it be ?
>
>TIA
>Shailesh.
For some reason - perhaps the selfsame reasons you mention - the framework I use only seems to use HelpContextId as a convenient place to store the number for the help system; help itself is invoked with a command like HELP _vfp.Activeform.HelpContextId.
As far as I could discern, HelpContextId wasn't used "automatically".
Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)