Article # 366, added by Geoworks, historical record
| first |
previous |
index |
next |
last |
Undocumented help contexts in standard controllers.
Q. I just finished creating a help file for my program, and I generated it and so on. When I start my program and click on the help button in the New/Open box, I get an error message that says: Error in help: Unable to find "dbDCBig" section in help file "texted ". Please note the exact text of this message if it occurs. Error Code: HP-02 What does this mean and how do I fix it? A. What has happened here is the GenDocumentControl has a line like this: ATTR_GEN_HELP_CONTEXT = "dbDCBig"; /* You can't change this easily. */ What you must do is add a context to your help file with the name dbDCBig. In this context you can put something about how to open and create documents, or at least put in hyperlinks to contexts that discuss those topics. There are other help contexts related to the GenDocumentControl. They are dbDCCopy, dbDCOpen, and dbDCSaveAs. The PrintControl class also has a context, dbPrint, which goes with the main Print dialog. There may be more "secret" contexts like this one that you must add to your help file. To find them, run your program and click on ANY help triggers you see, and note the name of the section in the box if you get the error.