home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1994 #1 / monster.zip / monster / PROG_BAS / PROMPT.ZIP / MANUAL.TXT < prev    next >
Text File  |  1994-01-26  |  3KB  |  98 lines

  1. Prompt Control User Manual
  2. Copyright (C) 1993,1994 Andrew S. Dean
  3.  
  4.  
  5. Description
  6. -----------
  7. The Prompt Control, PROMPT.VBX is an enhanced Text Box
  8. control that allows users to enter command-line style
  9. input.  The Prompt Control can be used to implement behavior
  10. similar to the Visual Basic debug window, or the dot prompt
  11. which appears in many xBase products.
  12.  
  13. The Prompt Control fires an event, Enter, when the user
  14. presses the enter key on the keyboard.  The control
  15. automatically parses the current line of text in the control
  16. into separate words, and returns the individual words in the
  17. Words(i) property.  The Prompt Control also provides a history
  18. mechanism.  By using the up arrow key, the user can re-run
  19. (or modify and then run) previously entered commands.
  20.  
  21.  
  22.  
  23. Custom Properties
  24. -----------------
  25.   AppendText       Used to append text to the contents of the control.
  26.                    This property is used to display the results of a
  27.                    command which was entered in the prompt control.
  28.                    Use a carriage return/line feed (Chr$(13) + Chr$(10))
  29.                    sequence to force line breaks.  Write-only.
  30.  
  31.   Command          Contains the last command line entered into the
  32.                    control.  Read-only.
  33.  
  34.   NumWords         The number of words parsed out of the last
  35.                    command.  Read only.
  36.  
  37.   ScrollBars       Indicates which scroll bars should appear on the
  38.                    control at runtime.
  39.                         0 - None
  40.                         1 - Horizontal
  41.                         2 - Vertical
  42.                         3 - Both
  43.  
  44.   Words(i)         The last command entered by the user, parsed
  45.                    using space characters as word delimiters.  The
  46.                    Words array is indexed from 0 to (NumWords - 1).
  47.                    Read only.
  48.  
  49.   WordDelimiters   Characters used to separate individual words
  50.                    in a command.  Any number of consecutive
  51.                    delimiters has the same effect as a single
  52.                    delimiter.  The default delimiter is a single
  53.                    SPACE character.
  54.  
  55.  
  56. Custom Events
  57. -------------
  58.   Enter            Generated when the user presses the Enter key on
  59.                    the keyboard.  The single argument, InputLine,
  60.                    is a read-only string which contains the entire
  61.                    text of the command line.
  62.  
  63.  
  64. Standard Properties  See general VB documentation for details.
  65. -------------------
  66.   Align                BackColor
  67.   BorderStyle            Enabled
  68.   FontBold            FontItalic
  69.   FontName            FontSize
  70.   FontStrikethru        FontUnderline
  71.   ForeColor            Height
  72.   HelpContextID            hWnd
  73.   Index                Left
  74.   MousePointer            Name
  75.   Parent            TabIndex
  76.   TabStop            Tag
  77.   Text                Top
  78.   Visible            Width
  79.  
  80.  
  81. Standard Events - See general VB documentation for details.
  82. ---------------
  83.   Click                         DblClick
  84.   DragOver                      DragDrop
  85.   GotFocus                      KeyDown
  86.   KeyPress                      KeyUp
  87.   MouseDown                     MouseMove
  88.   MouseUp
  89.  
  90.  
  91. Standard Methods - See general VB documentation for details.
  92. ----------------
  93.   Drag
  94.   LinkSend
  95.   Move
  96.   Refresh
  97.   ZOrder   
  98.