Download User Manual ModelMaker 6.20

Transcript
ModelMaker version 6.20
To create a help file for the TIntLabel component,
1. Make sure the unit IntLabel is selected in the Units view.
2. In the Documentation view, click the button ‘Create help file’.
3. In the ‘Create help file’ dialog you’ll be prompted to enter a file name for the unit’s RTF
file. A help project file with the same name and extension .HPJ will automatically be
created. In our example enter [installdir]\TEST\INTLABEL.RTF.
4. In the same dialog, select the visibilities you want to include in your help file. In this
example we’ll go for the ‘Component writers’ visibility.
5. Leave the reformat paragraphs option checked and Click OK.
6. Open the explorer (file manager) and notice that both INTLABEL.RTF and INTLABEL.HPJ
have been created.
7. Run your Delphi help compiler with the INTLABEL.HPJ project. Be aware that you need to
use the help compiler that was shipped with the Delphi version you want to create help for.
For Delphi 1.0: Use DELPHI\BIN\HC31.EXE in a DOS box and run it from the folder your
HPJ file is in. For example: DELPHI\BIN\HC31.EXE INTLABEL.HPJ
For Delphi 2, 3 and higher: Use the Delphi 2(or 3 / 4/5/6).0\HELP\TOOLS\HCW.EXE
to compile your project: double clicking the INTLABEL.HPJ file in the explorer should be
enough.
The help files have been created now. You might want to have a look at them, using windows
help. Double clicking the newly generated INTLABEL.HLP starts help.
The Help File Generator source is available as plug-in expert on request. It can be extended to
create help for multiple units at once etc.
Integrating your help files with Delphi’s on line help
To be able to invoke Delphi’s help on your TIntLabel component you must integrate your
INTLABEL.HLP help file with the Delphi 1 and 2 on line help. To do this:
1. Generate key words using KWGEN.EXE
2. Install help using HELPINST.EXE
Installing help in Delphi 3 and higher is documented in Delphi’s Component Writers Guide /
User’s Guide.
Documenting the design in a diagram
Although creating diagrams is usually done in the first stages of the design process, it is also
possible to create diagrams from existing models using ModelMaker’s instant visualization
feature. A list of diagrams in the model is edited in the Diagram List view. The actual
diagrams are edited in the Diagram Editor.
usermanual620.doc
May 7th 2002
28