linking to context chm help from D7

This section is for programmers. Please use it for all discussons on interfacing help with your applications and related subjects.

Moderators: Alexander Halser, Michael Schwarzl

Post Reply
Scott S.
Posts: 3
Joined: Mon Feb 22, 2010 3:14 am

linking to context chm help from D7

Unread post by Scott S. »

I have a D7 app with chm context help (sorry, still 3.52- not quite ready to upgrade). When i use <F1> help within a form, the context help works great. But in some cases I would like a special help button or menu item, where i can call on help directly. it seems that one of these lines of code should work:

Application.HelpContext(4800);
or
Application.HelpCommand(HELP_FINDER,4800);

but one complains because it is looking for a "hlp" file, and the other brings up my "chm" file but always at the start or home position, not the context #4800 that I want.

A simple line of code? Or maybe when the user selects this i should pass a <F1> key press to the form for them?

TIA,
Scott
User avatar
Alexander Halser
EC-Software Support
Posts: 4098
Joined: Mon Jun 24, 2002 7:24 pm
Location: Salzburg, Austria
Contact:

Unread post by Alexander Halser »

Try Application.HelpCommand(HELP_CONTEXT,4800);
Alexander Halser
Senior Software Architect, EC Software GmbH
Post Reply