





          Author:        John J. Faubion
                         139 Eastern Avenue
                         Plainfield, Indiana 46168
                         Phone (thru January 1994)  317-839-1268
                         Compuserve:  72763,200

          Title:         Omenup.pas     Demo program for OMenu unit
                    Omenu.pas TPU with all required routines using BGI
                    Omenu.fg  TPU, as above, compiled using FASTGRAPH(c)



          Purpose:  I have long wanted to have a simple, easy-to-use
          dropdown menu system like Windows and TurboVision provide,
          without all the headaches that accompany the use of the two
          latter environments.  I do a lot of programming in Chinese
          characters, and these require that I do my work in graphics.  So,
          I have written these routines for the purpose.  What you get is a
          standard horizontal bar menu, with dropdown vertical menus.  It
          is mainly objects, with a couple more routines to initialize and
          de-initialize the graphics environment.

                    In order to have access to a complete hidden page, I
          have written these routines to work in a 640x350 pixel
          environment.  That's EGA mode 16.  Going to other modes is no big
          deal.  Just means changing the Textheight constant to 16 pixels
          (for VGA) instead of 14, then making the mode changes in the
          unit.

          Description: OMenu is an unit containing three objects.  The
          objects provide a simple, clean way of using a basic dropdown
          menu system on a GRAPHICS environment.

                    Object 1:      OHMenu, a horizontal bar menu
                    Object 2:      OVMenu, a vertical bar menu
                    Object 3:      OHVMenu, a horizontal/vertical menu.  A
          combination of the first two types.

                  The program OMENUP, as provided, pretty well documents
          how to the menu system.  Additionally, two different versions of
          the unit are supplied.  One uses the FASTGRAPH routines from Ted
          Gruber Software (faster than the BGI routines), and the other
          uses the straight BGI routines.  This is accomplished through a
          {$DEF FGI} compiler directive in the unit.

                  Source is available.  I'll have to work out a
          registration if anyone is interested.

                  The Routines are supplied, AS-IS for all to use without
          modification except for making your own object extensions.  No
          liability, express or implied, is assumed by the author, and the
          user assumes all responsibility for their use and implementation.



               Please don't phone me unless it's absolutely necessary.
          Better to leave me EMail on Compuserve.  I will be moving back to
          China in January or so, and if you cannot reach me on Compuserve
          or by phone, then please address me at

                       Binary International Marketing
                       Box 36, Asian Games Village Post Office
                       Beijing, CHINA  100101

               Alternatively, you can address me at my USA forwarding
          address:

                    Jay Faubion
                    139 Eastern Avenue
                    Plainfield, IN  46168

          End.
