home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1993 #2 / Image.iso / database / pk4pak.zip / HELPMAN.DOC < prev    next >
Text File  |  1993-01-16  |  6KB  |  125 lines

  1. Here is the ESI Hypertext Help System. The name of the file is
  2. helpsys.zip.
  3.  
  4. Fundamentally the Help System takes hypertext help panel text and
  5. specifications as input, and produces a standalone hypertext help library as
  6. output. Each library thus produced is packed with its own driver procedures,
  7. and so can be freely distributed on its own. Usage entails:
  8.  
  9.        Autolib = "helpdir\\helplib"
  10.        Hypertext.StartWithPanel(FirstPanelName)
  11.  
  12. FirstPanelName can be any panel, thus providing context-specific hypertext
  13. help.
  14.  
  15. That's it!
  16.  
  17. Options are available to allow configuration of color etc.
  18.  
  19. As an alternative the developer can choose to display help panels from the
  20. tables, providing the advantages of memo windows (primarily
  21. reformattable text). I think the primary advantage of this last option is to
  22. allow quick view of help panels during edit of help panels.
  23.  
  24. ------
  25.  
  26. To get started, play "helpedit" in the launch directory, and work your way
  27. through the menu items from left to right.
  28.  
  29. {HelpPanel} will display the help panel pointed to by the cursor on the
  30. panel list.
  31.  
  32. Place the cursor on the "HTEXT_BASICS" row, and select {HelpPanel}. You will
  33. see the table-based help panel display.
  34.  
  35. Hit the [Tab] and [ShiftTab] keys a few times to get a feel for moving
  36. around. Note the split hotspot "easily write". (It does nothing, just there
  37. to demo split hotspot capability).
  38.  
  39. Of course you can move around with the mouse as well. Highlight
  40. "Hypertext Edit system" with the [Tab] key, or move the cursor anywhere
  41. within those words. Hit [Enter]. You shoule be on a different panel. Hit
  42. [Esc]. You should be on the first panel again. Double click on the same
  43. spot. You should be on the second panel again. Right click. You should be on
  44. the first panel.
  45.  
  46. Now hit [Esc] until you climb out of the help system, or just hit [F2] or
  47. click on the close icon of the window to jump out. Double click on the [Text
  48. memo field] field. You should be back in the help system. [Esc]. Hit [CtrlF]
  49. on the same field to get into the help system. [Esc]. Hit [F1] on the same
  50. field as a third way to get into the help system. Hit [Esc]. Hit [ShiftF1]
  51. no matter what field you're on as a fourth way of gettin to a help panel.
  52.  
  53. Hit [Esc] to get back to the list.
  54.  
  55. Move the list window half way down the screen. Select {HelpPanel} (or use
  56. one of the other ways to get to a help panel). Now click on the list window
  57. behind the help panel, or hit [CtrlF] or [CtrlF4] to get to the list window
  58. while still being able to see the help panel behind the list window. Scroll
  59. down the list of help windows, and notice that the help panel in the
  60. background changes with each record movement, including the titles. This
  61. allows you to scan your prose.
  62.  
  63. Select the help panel. Notice that the attributes (screen position) are
  64. updated as soon as you make the help panel current.
  65.  
  66. Hit [CtrlF] to get back to the list.
  67.  
  68. You could hit {Specs} to see the detailed specs screen, but instead hit [F1]
  69. or double click anywhere on the record *other than* on the text memo field.
  70. You should be looking at the Help screen detail form. Note that the Memo
  71. window is still visible. Move back and forth between the detail screen and
  72. the help window. When on the detail screen scroll down or up a few master
  73. records to watch the help window get updated in the background.
  74.  
  75. Place yourself on a detail help screen which has one or more keyword
  76. records. Hit [F1] or double click on one, and note that the detail screen
  77. changes to the screen for the reference of the previous screen. This may
  78. take a bit of thought to get comfortable with.
  79.  
  80. Hit [F9] to enter edit mode. Change to the help window. Move to the bottom
  81. and add a new keyword (HotSpot). Hit [CtrlS] to get the left hand delimiter,
  82. type in your keyword (such as "Test") and hit [CtrlE] to enter the right
  83. hand delimiter. You can also use [Alt175/Alt174], or the {HotSpot} menu
  84. choice to get the delimiters into the text.
  85.  
  86. Hotspots must be 0 < length <= 32, and must have no spaces beside the
  87. delimiters on the inside.
  88.  
  89. Hit [F2]. Watch the new keyword be placed into the list of keywords.
  90. Associate a reference to the keyword by moving the the reference field and
  91. hitting [F1] to get table lookup. You can enter a new reference manually, in
  92. which you you will be asked if you want to add it to the database.
  93.  
  94. Move back to the help panel. Delete the "Test" keyword that you entered in
  95. the text. Hit [F2] again. Note that the "Test" keyword in the database is
  96. changed from "Active" to absent status. Delete that row. You cannot delete
  97. "Active" records. Hit [F2].
  98.  
  99. Hit [Esc] To get back to the list.
  100.  
  101. Select {Generate}
  102.  
  103. Enter a valid path and the path, and "mylib" as the library.
  104.  
  105. Watch your first help library get generated.
  106.  
  107. Now select {RunLib}
  108.  
  109. The library you just built will be the default for the {RunLib} option. Accept
  110. that. Enter "HTEXT_BASICS" for the panel name. Hit [Enter]. You should be in
  111. a help panel. Hit [Esc]. Select {RunLib} again, accept the libspec, but enter
  112. a different panel name (from the list in the background).
  113.  
  114. Select {Quit} to exit the system.
  115.  
  116. -------------
  117.  
  118. It's worth scanning through helpman.sc, BTW, to see the effect that EventMan
  119. has on code organization.
  120.  
  121. To generate your own help screens, use paradox to empty Helplist.db and 
  122. helpspec.db. in the helpman\data directory. Save any batches of help screens 
  123. you want to keep by copying the helpman\data files into subdirectories.
  124.  
  125. - Henrik