;
; Graphic Vision Demo Help Text
;
; Note:  This file must be compiled with the Version 1.1 of TVHC.EXE.
;

.topic NoContext=0
 Graphic Vision demonstration
 
This is a demonstration program that allows you to view some of the 
capabilities of Graphic Vision.  The  menu is accessed by pressing 
Alt-Space.  All the other menus are accessed by pressing Alt-Z, 
where Z is the first letter of the menu.  For example,the "File" menu 
is pulled down by Alt-F.

Press ESC to put this help screen away.

.topic Viewer=2
 File viewer
 
A file viewer views the contents of a text file. You can use the
arrow keys to move about in the file. A file is loaded via the
{FileOpen:Open} menu item.

  Up         Move up one line
  Down       Move down one line
  Right      Move right one column
  Left       Move left one column
  PgUp       Move one page up
  PgDn       Move one page down
  Home       View right most column of the file
  End        View left most column of the file
  Ctrl-PgUp  View top of file
  Ctrl-PgDn  View bottom of file.

File viewers can be resized and moved using the {Windows} menu.

.topic Puzzle
 Puzzle
 
The puzzle window is a small game.  The object is to get the characters
to form the following pattern:

    A  B  C  D
    E  F  G  H
    I  J  K  L
    M  N  O

Clicking the mouse on a tile next to the empty space moves the tile
into the space.  Pressing one of the cursor keys (up, down, left, or
right arrow) moves a tile into the empty space in the direction
indicated by the cursor key. The move counter is updated every time
a tile is moved.

.topic Calculator
 Calculator
 
The calculator is a simple four-function calculator with add, subtract,
multiply, and divide.  To operate the calculator you can either use the
keyboard or press the buttons on the calculator with the mouse.  The 'C'
key clears the calculator, the '' key will erases the last character
typed, and the '' key toggles the value from positive to negative (the
keyboard equivalent of '' is '_').

.topic Calendar
 Calendar
 
The calendar displays the current month, highlighting todays date. The
next and previous months can be viewed using the '+' or '-' keys
respectivly.  The mouse can also be used to change the month by pressing
the  or  icons.

You can also use the close icon menu to select between two background
pictures; "Naughty" and "Nice".  The close icon menu can be accessed by
clicking on the close icon in the top-left corner of the window, or by
pressing <Alt+C>.

.topic AsciiTable
 ASCII Table
 
The ASCII table displays the entire IBM PC character set.  The current
character is marked by a blinking block cursor, and the hexadecimal and
decimal ASCII values of the character are displayed below the chart. A
new character is selected by pressing it on the keyboard, by clicking
the mouse on it in the chart, or by moving the cursor using the cursor
keys.

.topic System
  (System) menu    (Alt-Spacebar)
 
The System menu appears on the far left of the menu bar and is
represented by the  symbol.

When you pull down the  menu, you see

  {About:SAbout}         {Puzzle:SPuzzle}
  {Calendar:SCalendar}      {Ascii Table:SAsciiTable}
  {Calculator:SCalculator}

.topic SAbout
 About
 
When you choose the About command from the  (System) menu, a
dialog box appears, showing copyright and version information.

To close the box, press Esc, Space, or Enter, or click the OK
button.

.topic SPuzzle
 Puzzle
 
The Puzzle menu item opens a small {puzzle} game.

.topic SCalendar
 Calendar
 
The Calendar menu item opens a small {calendar} which displays
the current month. It also allows you to view other months.

.topic SAsciiTable
 ASCII table
 
The ASCII menu items opens an {ASCII Table:AsciiTable} that
displays the IBM PC character set.

.topic SCalculator
 Calculator
 
When you choose Calculator, a four-function {calculator} is
opened on the desktop.

.topic File
 File  (Alt-F)
 
The File menu includes choices for opening and saving files, changing
directories, DOS shell, and exiting the program.

 {Open} {SaveAs} {Change Dir:ChangeDir}    {Exit}

.topic Open
 FileOpen  (F3)
 
The Open command displays the Open a File dialog box. In this
dialog box you select the text file you want browse in a
{file viewer:Viewer}.

The {Open a File:FOFileOpenDBox} dialog box contains:

  an {input box:FOName} with a history list
  a {list box:FOFiles} to browse the directory
  the standard {Cancel:CancelBtn} button
  {Open:FOOpenBtn} action button
  an information panel that describes the
   selected file

.topic New
 FileNew
 
The New command creates a new editor window.  The window's name is
"Untitled", and is empty.

.topic Save
 FileSave
 
The Save command allows you to save the current editor window to a disk
file.  If the window already has a name, the file will be saved under
this same name.  If you wish to save the file under a new name, select
the {File|Save As:SaveAs} command instead.

.topic SaveAs
 FileSave As
 
The Save As command allows you to save the current editor window to a
new file name.  Note that if an editor window does not have a name (it
is called "Untitled") selecting {File|Save:Save} will execute the
Save As dialog box.

.topic SaveAll
 FileSave all
 
The Save all command saves all editor windows to disk.

.topic ChangeDir
 FileChange Dir...
 
FileChange Dir brings up the {Change Directory:FCChDirDBox}
dialog box, in which you can change the current directory.

.topic DosShell
 FileDOS Shell
 
With the DOS Shell command, you can leave the program temporarily
to perform a DOS command or run another program.

To return to this program, type EXIT at the DOS prompt.

.topic Exit
 FileExit     (Alt-X)
 
The Exit command terminates this program.

.topic Edit
 Edit  (Alt-E)
 
The Edit menu includes choices for UNDO in the editor and managing the
clipboard.

.topic Undo
 EditUndo
 
The Undo command allows you to "take back" the last editor action you
performed.  For example, if the line:

  This is an editor test

is changed to:

  This was an editor test

the Undo command will become active.  Executing the Undo command will
cause the line to revert back to its original version.  Note that
changes which can be undone are grouped into similar actions, such as
typing, or deleting characters.  Any action type you perform that is
different than the last action type will cause the Undo information to
be lost.

.topic Cut
 EditCut
 
The Cut command removes the selected text and places it on the
Clipboard.  Any information previously on the clipboard is lost.  Text
cut from the editor may be immediately replaced by selecting the
{Undo} command before moving the cursor.

.topic Copy
 EditCopy
 
The Copy command places a copy of the selected text on the
Clipboard.  The selected information is left unchanged, but any
information previously on the clipboard is lost.

.topic Paste
 EditPaste
 
The Paste command inserts a the contents of the clipboard into the
current editor window at the cursor position.  The contents of the
clipboard remain unchanged.  If any text is selected in the current
editor window, the highlighted text is replaced by the text coming
from the clipboard.  Information pasted into an editor may be
removed immediately by using the {Undo} command before moving the
cursor.

.topic ShowClip
 EditShow Clipboard
 
The Show Clipboard command will display the Clipboard contents as an
ordinary editor window.  Note that {Cut} and {Paste} commands are not
enabled while the clipboard is the focused window.

.topic Clear
 EditClear
 
The Clear command removes any selected text from the current editor
without placing a copy of the text on the clipboard.  The effects of
this command may be reversed by selecting {Undo} before moving the cursor.

.topic Search
 Search (Alt-S)
 
The Search menu provides text search and replace in the
topmost edit window.

.topic Find
 SearchFind
 
The Find command performs a text search in the editor.

.topic Replace
 SearchReplace
 
The Replace command performs a text search and replace in the editor.

.topic SearchAgain
 SearchSearch again
 
The Search again repeats the last Find or Replace.

.topic Windows
 Window    (Alt-W)
 
The Window menu contains commands to close, move and perform
other window-management commands.

Most of the windows in this program have all the standard window
elements, including scroll bars, a close box, and zoom icons.

For more about windows and their elements, refer to windows.


 Window-management commands
 

 {Size/Move:Resize}           {Zoom}
 {Tile}             {Cascade}
 {Next}             {Previous}
 {Close}

.topic Resize
 WindowSize/Move     (Ctrl-F5)
 
Choose this command to change the size or position of the active
window.

 
  Size
 
If you press Shift while you use the arrow keys, you can change
the size of the active window. Once you've adjusted its size or
position, press Enter.

If a window has a Resize corner, you can drag that corner to
resize the window.

 
  Move
 
When you choose WindowSize/Move, the active window moves in
response to the arrow keys. Once you've moved the window to where
you want it, press Enter.

You can also move a window by dragging its title bar with the
mouse.

.topic Zoom
 WindowZoom   (F5)
 
Choose Zoom to resize the active window to the maximum size. If
the window is already zoomed, you can choose this command to
restore it to its previous size.

You can also double-click anywhere on the window's title bar
(except where an icon appears) to zoom or unzoom the window.

.topic Tile
 WindowTile
 
Choose WindowTile to tile all file viewers on the desktop.

 Ŀ
  1ͻ2Ŀ 
                                 
                                 
                                 
                                 
  ͼ 
  3Ŀ4Ŀ 
                                 
                                 
                                 
                                 
   
 
             Tiled Windows

.topic Cascade
 WindowCascade
 
Choose WindowCascade to stack all file viewers on the desktop.

 1Ŀ
 2Ŀ
 3Ŀ
 4ͻ
                          
                          
                          
                          
                          
 ͼ

        Cascaded Windows

.topic Next
 WindowNext
 
Choose Next to cycle forwards through the windows on the desktop.

.topic Close
 WindowClose    (Alt-F3)
 
Choose Close to close the active window.

You can also click the Close box in the upper right corner to
close a window.

.topic Options
 Options  (Alt-O)
 
The Options menu contains commands that let
you change {color:OColors} and {mouse:OMouse} default settings.

.topic OMouse
 OptionsMouse...
 
The Mouse command brings up the {Mouse Options:OMMouseDBox}
dialog box, where you can set various options that control how your
mouse works, including:

  how fast a double-click is
  how fast a the mouse pointer moves
  which mouse button (right or left) is active

.topic OColors
 OptionsColors...
 
The Colors item brings up the {Colors dialog:OCColorsDBox} box,
where you can customize the colors of the display.

.topic OSaveDesktop
 OptionsSave Desktop
 
Saves the state of all open windows to a file call GVDEMO.DSK. This
file can be reloaded by selecting {OptionsRetrieve Desktop:ORestoreDesktop}.

.topic ORestoreDesktop
 OptionsRetrieve Desktop
 
Restore a previously-saved state of all open windows from a file
call GVDEMO.DSK. This file is saved via the
{OptionsSave Desktop:OSaveDesktop} menu command.

.topic FOFileOpenDBox
 Help on Open a File Dialog Box
 
The Open a File dialog box contains an input box, a {file list:FOFiles},
a file information panel, the standard button {Cancel:CancelBtn},
one other action button ({Open:FOOpenBtn}), plus a history list
that's attached to the {Name inputbox:FOName}.

.topic FOName
  Name Ŀ
                                  
 
The Name input box is where you enter the name of the file to
load, or the file-name mask to use as a filter for the Files list
box (for example, *.*).

.topic FOFiles
  Files Ŀ
                                  
   FILENM01.PAS    FILENM09.PAS  
   FILENM02.PAS    FILENM10.PAS  
   FILENM03.PAS    FILENM11.PAS  
   FILENM04.PAS    FILENM12.PAS  
   FILENM05.PAS    ..            
   FILENM06.PAS    \MOREXAMP     
   FILENM07.PAS    \TOURS        
   FILENM08.PAS    \ANSWERS.DIR  
      
 
The Files list box lists the names of files in the current
directory that match the file-name mask in the Name input box,
plus the parent directory and all subdirectories.

 Ŀ
  C:\TP\EXAMPLES\*.PAS                     
  HELLO.PAS       52  Jul 14,1990  12:00pm 
 
The File information panel shows the path name, file name, date,
time, and size of the selected file.

None of the items on this information panel are selectable.

.topic FOOpenBtn
 Ŀ
  [ Open ] 
 
The Open button opens a new Viewer window and places the selected
file in that window.

.topic CancelBtn
 Ŀ
  [ Cancel ] 
 

If you choose Cancel, nothing changes and no action occurs, and
the dialog box is put away.

(Esc always cancels a dialog box, even if a Cancel button does
not appear.)

.topic OpenBtn
 Ŀ
  [ Open ] 
 

In the Open a File dialog box, if you choose the Open button
GVDEMO opens a new {file viewer:Viewer} and places the selected
file in that window.

.topic FCChDirDBox
 Help on the Change Directory dialog box
 
The Change Directory dialog box consists of an input box, a list
box, the standard OK and Help buttons, and two other buttons
(Chdir and Revert).

  Directory Name Ŀ
                                      
 
The Directory Name input box is where you type in the path of the
new directory.

  Directory Tree Ŀ
    Drives                            
    C:\                            
      TP                           
        TVISION                    
 
The Directory Tree list box enables you to navigate directories
by using the selecting bar and pressing Enter.

If you're using the keyboard, press Enter to make the selected
directory be the current directory, then choose OK or press Esc
to exit the dialog box.

 Ŀ
  [Chdir ] 
 
The Chdir button changes the current directory once you've
selected or typed in a directory name.

 Ŀ
  [Revert] 
 
The Revert button goes back to the previous directory, as long as
you haven't yet exited the dialog box.

.topic OMMouseDBox
 Help on the Mouse Options dialog box
 
This dialog box consists of two check boxes, one slider bar, a
double slider bar and the standard buttons OK, Cancel and Help.

All the settings take effect immediately so you can test the mouse
before closing the dialog box. If you close the dialog with the
[Cancel] button or the close icon, the previous mouse settings
will be restored.

 {Setting an Acceleration Curve:OMouseCurve}
 {Setting the Double-Click Speed:OMDouble}
 {Reversing the Mouse Buttons:OMButtons}
 {Setting the Mouse Sensitivity:OMSense}

 See also:
 
 {OptionsMouse... menu command:OMouse}


.topic OMouseCurve
 Selecting an Acceleration Profile
 
  Acceleration Ŀ
 ( ) Slow                         
 ( ) Moderate                     
 () Fast                         
 ( ) Unaccelerated                
 

You can choose from among four predefined mouse acceleration 
profiles. Acceleration profiles are listed by name in the control
panel.

To choose an acceleration profile:

1   Choose the option button next to the profile you want to use.

2   Choose OK when you are ready to save all your settings.

For information on creating your own custom acceleration profiles, see 
appendix B in the Microsoft Mouse User's Guide.

An acceleration profile adjusts the amount of on-screen pointer
movement according to the speed of actual mouse movement. In this
manner, quick mouse movements can move the pointer a greater
distance on the screen.

 See Also:
 {Setting the Double-Click Speed:OMDouble}
 {Reversing the Mouse Buttons:OMButtons}
 {Setting the Mouse Sensitivity:OMSense}
 {Mouse Options Dialog Box:OMMouseDBox}

.topic OMDouble
 Setting the Mouse Double-Click Speed
 

  Double Click Speed Ŀ
   
  Fast     Medium     Slow 
 

You can change the speed at which Graphic Vision registers a
double-click.

To adjust double-click speed:

1   Drag the scroll box toward Slow or Fast, or press the Left or
Right Arrow.

2   Double-click on the Test button to confirm how quickly you
must click for Graphic Vision.

3   When the Test box inverts, Graphic Vision recognizes your
double-clicks.

4   Choose OK when you are ready to save all your settings.

 See Also:
 {Setting an Acceleration Curve:OMouseCurve}
 {Reversing the Mouse Buttons:OMButtons}
 {Setting the Mouse Sensitivity:OMSense}
 {Mouse Options Dialog Box:OMMouseDBox}

.topic OMButtons
 Reversing the Mouse Buttons
 

 Ŀ
  [X] Reverse Mouse Buttons 
 

Reverse Mouse Buttons makes the right mouse button take on the
normal functions of the left--and vice versa.

 See Also:
 {Setting an Acceleration Curve:OMouseCurve}
 {Setting the Double-Click Speed:OMDouble}
 {Setting the Mouse Sensitivity:OMSense}
 {Mouse Options Dialog Box:OMMouseDBox}


.topic OMSense
 Setting the Mouse Sensitivity
 

 SensitivityĿ
                                         
                  Vertical               
     
     
                 Horizontal              
 

Mouse sensitivity can be adjusted for horizontal and vertical 
axes independently or together.

To adjust sensitivity for both axes together:

1   Click the large Left or Right Arrow.

2   Choose OK when you are ready to save all your settings.

To adjust sensitivity for one axis at a time:

1   Drag the scroll box for the desired axis toward Slow or Fast,
or press the Left or Right Arrow for that axis.

2   Choose OK when you are ready to save all your settings.

 See Also:
 {Setting an Acceleration Curve:OMouseCurve}
 {Setting the Double-Click Speed:OMDouble}
 {Reversing the Mouse Buttons:OMButtons}
 {Mouse Options Dialog Box:OMMouseDBox}

.topic OCColorsDBox
 Help on the Colors dialog box 
 
The Colors dialog box consists of two list boxes, a text display
area, the standard OK and Cancel buttons and the following:

This dialog box is where you can change the colors of different
parts of this program.

 Ŀ
   [Load]  
 

The load button brings up a standard file dialog box that allows
you to load a predefined Graphic Vision palette (.GVP).  A few
have been installed for you to chose from.

 Ŀ
   [Save]  
 

The save button brings up a standard file dialog box that allows
you to save the current palette to a specified file. you should
use a .GVP filename extension.  Picking a filename from the
pick list will overwrite that palette with the current one.

 Ŀ
  [Pallette...] 
 

The Pallete button brings up a specialized
{VGA Pallete dialog box:VGAPalette} that allows you to adjust the 16
colours in the Application pallette that are used for all standard
views.

  Group Ŀ
    Desktop          
    Menus            
    Dialogs/Calc     
    Puzzle           
    Calendar         
    Ascii table      
    Help viewer      
 
The Group list box contains the names of the different
regions of the program that you can customize.

  Item Ŀ
    Color            
                     

When you select a group from the Group list, the Item list box
displays the names of the different views in that region.

  Foreground     Background 
        
        
        
    
You use the Foreground and Background palettes to change
the colors used by the selected item.

The display text (above the Help button) shows
the current color or attribute settings.

Changes take effect on the desktop immediately so you can check
the result of your selections.

Canceling the Colors dialog box with [Esc] or the Cancel
button will undo any changes you have made.

.topic OVideoModeDBox
 Help on the Change the Video Mode dialog box 
 
This dialog box allows you to change the video
mode this demo is running in it contains a list
box, the standard [OK] and [Cancel] and [Help]
buttons plus one other button: [Test].

  ModeResolutionColours Ŀ
   101    640 x 480   256    
   103    800 x 600   256    
   105   1024 x 768   256    
   107   1280 x 1024  256    
                             
                             
 

This list contains all the video modes that both
your video card and Graphic Vision can support.

Mode is the video mode number (in Hexadecimal)
as reported by the video card's BIOS.

You can use the {[Test]:OVTestBtn} button to see if your
monitor will support the highlighted video
mode before commiting Graphic Vision to use it.

.topic OVTestBtn
 Ŀ
  [ Test ] 
 

Pressing this buttons brings up an information
box telling you that the video mode is about to
be changed and that once it has, it will be
changed back by pressing any key.

The mode will then be changed and a test screen
will be drawn. You should be able to see:-

  a white pencil-line border.
  16 large colour squares in the top-left.
  256 small colour squares in the top-right of
   the screen (256 colour modes only).
  the video mode and resolution in white text.
  'Press any key to restore the screen' message
  The mouse pointer (if the mouse is active).

Pressing (almost) any key or clicking the mouse
will then restore the normal Graphic Vision
screen in the original video mode.

Graphic Vision will only use the new mode if you
click on the [OK] button.


; Import standard values from APP.PAS. Place all such manually
; declared help contexts at end of file.

.topic CloseAll=65314
 WindowClose All
 
Choose Close all to remove all windows from the desktop.

.topic Previous=65318
 WindowPrevious
 
Choose Previous to cycle backwards through the windows on the desktop.

; These are from ColorSel

.Topic VGAPalette= 65142;
 Help on the Adjust VGA Palette dialog 
 

This dialog allows you to adjust the 16 colours used by standard Graphic
Vision views by changing the Red, Green and Blue components that combine
to make the final colour. This dialog contains:

 Ŀ
   
   
   
 

A colour selector that you use to chose the colour you want to edit.

Controls for adjusting the Red, Green and Blue colour component.
Each colour component can be changed by:-

  typing a number between 0 and 255 in its input box.
  dragging its indicator  with the mouse
  clicking on the ruler either side of the indicator 

Changing the Gamma value will make the colour lighter or darker.
