home *** CD-ROM | disk | FTP | other *** search
/ Programming Tool Box / SIMS_2.iso / vb_code1 / movetext / readme.txt < prev   
Text File  |  1991-07-08  |  1KB  |  32 lines

  1. FROM:    Keith Funk (CIS 72240,2020)
  2. TO:      All
  3. SUBJECT: DragDrop Demo Program.
  4. DATE:    July, 1991
  5.  
  6. Hi,
  7.  
  8. The enclosed code is a sample VB program that demonstrates how to use a
  9. Picture Control to implement what appears to be a 'drag' operation on
  10. a Text Control. Code of this type is required because a Text Control
  11. cannot be dragged directly. A Text Control doesn't have a MouseDown
  12. Event which can be used to detect when a user wants to drag the
  13. control.
  14.  
  15. In addition, I've added some code that prevents a dragged control from
  16. being dropped if it overlaps another control on the form. This code works
  17. well if there is a limited number of controls on the form, but probably
  18. would really 'bog down' on a form with many controls.
  19.  
  20. The program is purely a demonstration of programming methods and serves no
  21. other useful purpose. It is intended for novice VB users like myself.
  22.  
  23. I'd really appreciated comments and criticism of all aspects of the program
  24. including source code documentation, coding style, algorithms and general
  25. program methodology.
  26.  
  27. The best way to read the program code is to select the code form and then
  28. select (general) from the Control's combo box. Then use CTRL-DownArrow
  29. to move from one Procedure to another.
  30.  
  31. Good luck.
  32.