@DATABASE DocumentViewer
@AUTHOR   "Jim Steichen"
@(c) "Copyright ©1999  by James T. Steichen."
@$VER: DocumentViewer 1.1 (08-Feb-2000) by J.T. Steichen

@FONT helvetica.font 13

@WORDWRAP 80

@MACRO BOLD "@{B}$1@{UB}"

@INDEX "Main"

@NODE "Main" "Document Viewer ©1999 by J.T. Steichen"
@NEXT "Controls"

   @{BOLD DocumentViewer} (1.1) is a GUI for finding & displaying text files or 

   @{AmigaGuide} files.  Change the @{" ToolTypes " LINK "ToolTypes"} & you can select which files

   to list & choose from.  You can also set the program that displays the 

   file using the @{" FileViewer " LINK "ToolTypes"} ToolType.  Some keys can be used to perform the

   same functions as certain gadgets (see @{" Alternate Keys " LINK "AltKeys"} ).

   @{BOLD DocumentViewer} was written using @{FG SHINE}GadToolsBox V37.300 & SAS-C V6.58.@{FG TEXT}
   
   The Author is:  @{BOLD "Jim Steichen"} (email:  @{FG SHINE}jsteic1957@aol.com@{FG TEXT})

   @{BOLD DocumentViewer} requires a @{FG SHINE}68020@{FG TEXT} CPU or better.
   
   @{B}SEE ALSO,@{UB} @{" How to Work the GUI " LINK "Controls"}   
@ENDNODE

@NODE "Controls" "DocumentViewer Controls:"
@PREV "Main"
     @{BOLD DocumentViewer} has very few controls to discuss.  The main controls the
   
   User really has to use are the @{BOLD Documents:} ListView Gadget & the @{B}@{U}V@{UU}iew File@{UB}

   button gadget.  Click on the document in the ListView gadget that you wish

   to examine with the @{" FileViewer " LINK "ToolTypes"} set in the ToolTypes of the Icon, then press

   & release the @{B}@{U}V@{UU}iew File@{UB} button gadget.

     You can change the directory to find your documents in with the 
   
   @{B}@{U}C@{UU}hange Dir@{UB} button gadget, or by directly typing in the path & filename

   you're looking for in the @{BOLD "File Name:"} string gadget.  There is also
    
   a graphic button next to the @{BOLD "File Name:"} string gadget that will bring up

   the ASL File Requester, allowing you to browse the file system & find the

   document you wish to view.  The only other control is the Close Window

   gadget located in the upper left corner of the GUI.
@ENDNODE

@NODE "AltKeys" "DocumentViewer Keyboard controls:"
@PREV "Controls"
@NEXT "ToolTypes"
   If you enter certain keys from the keyboard the program will perform as follows:
   
   @{FG SHINE}@{B}q, Q, e, E, x, X @{UB}@{FG TEXT}will exit the program, so will clicking on the Close Window Gadget.

   @{FG SHINE}@{B}c, C @{UB}@{FG TEXT}is equivalent to clicking on the @{B}@{U}C@{UU}hange Dir@{UB} button gadget.
         
   @{FG SHINE}@{B}v, V @{UB}@{FG TEXT}is equivalent to clicking on the @{B}@{U}V@{UU}iew File@{UB} button gadget.

   @{FG SHINE}@{B}i, I @{UB}@{FG TEXT}will show an information Requester.         

@ENDNODE

@NODE "ToolTypes" "Document Viewer ToolTypes:"
@PREV "AltKeys"
@NEXT "Main"

   The following Default ToolTypes are used by this program:


      @{FG SHINE}ParentDir@{FG TEXT}     = RAM:
 
      @{FG SHINE}FileViewer@{FG TEXT}    = MultiView

      @{FG SHINE}FileExtFilter@{FG TEXT} = (#?.doc@{FG SHINE}|@{FG TEXT}#?.guide)


   Change them to suit yourself, but be careful with the @{BOLD FileExtFilter}
   
   ToolType.  The ASL File Requester & AmigaDOS C functions used within
   
   the program expect the parentheses to be around the expression if you
   
   use the @{FG SHINE}@{B}|@{UB}@{FG TEXT} in making complicated expressions.  I'm sure that 
    
   there are other quirks, but until @{BOLD "Amiga Inc."} documents them, we're stymied.
@ENDNODE
