Prompt Control User Manual
Copyright (C) 1993,1994 Andrew S. Dean


Description
-----------
The Prompt Control, PROMPT.VBX is an enhanced Text Box
control that allows users to enter command-line style
input.  The Prompt Control can be used to implement behavior
similar to the Visual Basic debug window, or the dot prompt
which appears in many xBase products.

The Prompt Control fires an event, Enter, when the user
presses the enter key on the keyboard.  The control
automatically parses the current line of text in the control
into separate words, and returns the individual words in the
Words(i) property.  The Prompt Control also provides a history
mechanism.  By using the up arrow key, the user can re-run
(or modify and then run) previously entered commands.



Custom Properties
-----------------
  AppendText       Used to append text to the contents of the control.
                   This property is used to display the results of a
                   command which was entered in the prompt control.
                   Use a carriage return/line feed (Chr$(13) + Chr$(10))
                   sequence to force line breaks.  Write-only.

  Command          Contains the last command line entered into the
                   control.  Read-only.

  NumWords         The number of words parsed out of the last
                   command.  Read only.

  ScrollBars       Indicates which scroll bars should appear on the
                   control at runtime.
                        0 - None
                        1 - Horizontal
                        2 - Vertical
                        3 - Both

  Words(i)         The last command entered by the user, parsed
                   using space characters as word delimiters.  The
                   Words array is indexed from 0 to (NumWords - 1).
                   Read only.

  WordDelimiters   Characters used to separate individual words
                   in a command.  Any number of consecutive
                   delimiters has the same effect as a single
                   delimiter.  The default delimiter is a single
                   SPACE character.


Custom Events
-------------
  Enter            Generated when the user presses the Enter key on
                   the keyboard.  The single argument, InputLine,
                   is a read-only string which contains the entire
                   text of the command line.


Standard Properties  See general VB documentation for details.
-------------------
  Align				BackColor
  BorderStyle			Enabled
  FontBold			FontItalic
  FontName			FontSize
  FontStrikethru		FontUnderline
  ForeColor			Height
  HelpContextID			hWnd
  Index				Left
  MousePointer			Name
  Parent			TabIndex
  TabStop			Tag
  Text				Top
  Visible			Width


Standard Events - See general VB documentation for details.
---------------
  Click                         DblClick
  DragOver                      DragDrop
  GotFocus                      KeyDown
  KeyPress                      KeyUp
  MouseDown                     MouseMove
  MouseUp


Standard Methods - See general VB documentation for details.
----------------
  Drag
  LinkSend
  Move
  Refresh
  ZOrder   
