Help/id and chm files.
Author: i.sharp@pcisystems.co.uk (Iain Sharp)
We have just spent a while trying to work out why the documented method of using map/.ini files and help/id was not working properly for us. I am left with two questions.
- Why does there have to be a blank line at the top of the <helpfile>.ini file? If the first line is [keywords] it doesn't work, if there's a blank line followed by the line with [keywords] on it does? This is also not documented, this took us an hour of faffing about before we lucked on to it.
- Is there any way of having the chm path not be relative to the current working directory? If I put help/id "Jim","c:\\tmp\\fred.chm" I get an error about not being able to open "c:\\apps\\mydir\\c:\\tmp\\fred.chm".
On a slightly related note, if we wanted every entity on every form component to respond to the ^HELP macro with a call to a global proc passing the component name, is there any way to set this up so that it is fire and forget, and doesn't require every entity (or dummy entity) painted on the form to have its HLPE trigger amended? Are there no form or template level help triggers or 'hidden' operations (like init and cleanup). regards, Iain




