home *** CD-ROM | disk | FTP | other *** search
/ CD Actual 15 / CDACTUAL15.iso / cdactual / program / basic / QBSCR20.ZIP / VIEWLIST.TXT < prev    next >
Encoding:
Text File  |  1992-07-08  |  1.9 KB  |  41 lines

  1.  
  2. This demo will illustrate the usage of the ViewList function.
  3. In fact, ViewList is running this demo.
  4.  
  5. ViewList creates a scrolling list of text for use in your own
  6. programs, just like this one.  You may use the mouse or the
  7. arrow keys on the keyboard to move through the list, or the 
  8. ESC key or right mouse button exits. The table below describes
  9. all the ViewList capabilities and how your users perform them.
  10.  
  11.            Action...                        ...Keys
  12.            ----------------------------------------
  13.            Move up one line . . . . . . .  Up Arrow
  14.            Move down one line . . . . .  Down Arrow
  15.            Move up one screen . . . . . . . .  PgUp
  16.            Move down one screen . . . . . . .  PgDn
  17.            Move to top of list  . . . . . . .  Home
  18.            Move to bottom of list . . . . . . . End
  19.            Finished (exit)  . . . . . . . . . . Esc
  20.  
  21. Mouse support is also provided with ViewList.  Place the mouse
  22. cursor on the up or down arrows on the scroll bar on the right
  23. side of the window and press the left mouse button.  Placing
  24. the mouse cursor on the internal portion of the scroll bar and
  25. pressing the left mouse button will cause the list to scroll at
  26. a faster rate, about a window's worth at a time -- useful for
  27. long lists.  You may exit ViewList by clicking the right mouse 
  28. button.
  29.  
  30. As mentioned above, the ViewList function provides a scroll bar
  31. for use in scrolling through your list of text.  Located on the
  32. right side of the window, it consists of two arrows and a vert-
  33. ical bar, as well as an "elevator."  The elevator is a small
  34. box that moves up and down the scroll bar automatically as the
  35. user moves through the text, showing the current relative pos-
  36. ition in the list.  This scroll bar is generated and handled
  37. automatically for you by the ViewList routine.  Note that the
  38. scroll bar shows up only if you are using a mouse.
  39.  
  40.  
  41.