
Knowledge your customers will love
Useful Information
By Carol Johnston. Contact us if you would like a PDF version of this article.
It is important to decide what sort of information to include in the context-sensitive topics.
Dialog level Help usually provides one or more of the following:
Field level Help usually provides a short topic with information about the selected field. This is usually in a popup window and is known as 'What's This?' Help.
In this situation, the topics must be written in a text file. HTML Help does not support the use of graphics and formatting in popups. Even if you are using an authoring tool that has a method for producing formatted popups, this functionality is not applicable in a context-sensitive environment.
Write your text-only topics in a text file, using the syntax:
.topic context name
topic text
You can use more than one text file, but all the topics for any particular dialog must reside in the same text file. Since the context names are hard-coded into the text files, there is no need for aliasing.
The text file(s) must be included in the compilation of the Help project.
A text-only topics file for the sales dialog in an application might start of like this:
.topic CTX_SALES_DIALOG_ADD_BUTTON 1010
Click this button to add a new sales item to the list.
.topic CTX_SALES_DIALOG_ADD_SALENAME 1020
Type in the product name using the correct capitalisation.
.topic CTX_SALES_DIALOG_ADD_SALEDATE 1020
Type in the date that the sale was confirmed in the format DD/MM/YYYY.