                              Turbo Pascal 6.0
                         Turbo Vision Demo Programs
                 Copyright (c) 1990 by Borland International

  This README. file is part of an archived collection of simple and complex
programs that illustrate the capabilities of Borland's new Turbo Vision
object-oriented application library for Turbo Pascal 6.0.

  This set of demo programs may be posted on electronic bulletin boards (BBS)
for downloading ONLY if the set is posted in its entirety and unmodified.

  These demo programs are not intended to educate the reader in the use of
Turbo Vision or object oriented programming techniques -- merely to
demonstrate Turbo Vision's capabilities.  These programs are a small subset
of the demo programs shipped with Turbo Pascal 6.0, many of which were
designed to accompany the Turbo Vision tutorial and reference books shipped
with Turbo Pascal 6.0.

  The demo programs are compiled and ready to run.  Source code for the main
programs and some program units is provided so that programmers can see how
each Turbo Vision application is constructed.  Note that the source code
cannot be compiled without Turbo Pascal 6.0 and the Turbo Vision library
units.

  These demo programs, by themselves, are not a supported product of Borland
International.  The programs are provided as a service to the public and
prospective customers who wish to see a Turbo Vision application in action,
and perhaps "look under the hood" at the source code a programmer would need
to write to produce such programs.  The programs are provided "as-is" with
no warranties or claims of suitability of use.

----------------
Now for the good stuff:  File listings and brief descriptions.

Hello.exe         :  A simple "Hello World" program, Turbo Vision style.
 and .pas            Note how little code is needed to implement a fully
                     functional, mouse and keyboard driven user interface,
                     complete with hot-keys, a menu bar and a status line.
                     {Things that "Writeln('Hello World');" never did!}
                     The majority of this functionality is simply inherited
                     from pre-defined Turbo Vision object types.

TVGUID10.exe      :  A slightly more complex program which has a window object
    and .pas         with two "views" into the same file (tvguid10.pas).
                     Each view can be scrolled independently of the other
                     with either the mouse or the keyboard.  Again, basic
                     window and view functionality such as draggable windows,
                     scrollable views, etc. is gained by your program through
                     object inheritance.  All this program has to do is link
                     two view objects to a window object and pop the lot into
                     a Turbo Vision application.

TVEdit.exe        :  Demonstrates the use of the text editor object provided
                     with Turbo Vision.  Traditional WordStar control keys
                     and search and replace operations are provided.  And if
                     you want to enhance the editor object, just descend an
                     new object type from the editor object, and then modify
                     (override or extend) the piece(s) you want to change.

TVDemo.exe        :  An enhanced file viewer with a bushel of gadgets,
                     tool objects, and a context-sensitive help system,
                     all of which can easily be plugged into other Turbo
                     Vision applications... adding a well-designed "tool"
                     object can be done with as little as 3 or 4 lines of
                     source code changes in your application.  Note also the
		     File Open and Change Directory dialogs:  these are
		     standard Turbo Vision objects.

 TVDemo features the following semi-autonomous objects:

ColorSelector     :  A color selector dialog.  Just provide names for your
                     application's color palette entries and the ColorSel
                     object handles the mechanics of changing the palette.

Gadgets           :  A unit containing a clock object, which is displayed in
                     the top right corner of the screen, and a free heap
                     gauge, displayed in the bottom right corner.  Both of
                     these objects update themselves in the application's
                     idle cycle.

Puzzle            :  The sliding tiles puzzle.  Click on the tiles to push
                     them around.  Try to put them into some sort of order.

Calendar          :  A one-month calendar, accurate for the next 300 years.

Calc              :  A simple calculator.  Solar powered.

FViewer           :  A text file display object, featuring horizontal and
		     vertical scrollbars in a resizeable window.

DemoHelp          :  Turbo Vision also has a help file compiler program to
                     help you generate your own context-sensitive hypertext
                     help system for your Turbo Vision applications.

demohelp.txt      :  The help file "source text."  Note the use of the
                     "topic" keywords and the ability to create "hypertext"
		     links between different help screens.

demohelp.hlp      :  The compiled help file in machine-readable form.
                     TVDemo will report an error (but will still run) if
                     this help file is not present at runtime.

demohelp.pas      :  A unit generated by the help compiler containing
                     constants for you to use in your menu items and dialog
                     controls to make the help system context sensitive.


Enjoy!
