home *** CD-ROM | disk | FTP | other *** search
/ Programming Tool Box / SIMS_2.iso / vb_code1 / focus002 / foc002f.frm (.txt) < prev    next >
Visual Basic Form  |  1992-05-07  |  3KB  |  51 lines

  1. Foc002
  2. Focus U-Turn Re-Load Form
  3. wwwwp
  4. wwwwwp
  5. Form1+
  6. lblComments1
  7. This form is used to demonstrate that the 'Focus U-Turn' techniques used in the first form work when the form is loaded, unloaded, and subsequently reloaded.  It is also a convenient place to display a copyright notice and advertise my new book.
  8. lblComment2
  9. I           Focus U-Turn Test Program, Copyright (c) 1992, ETN Corporation
  10. lblComment3
  11. Controlling focus is very important in both Windows and Visual Basic application design and programming. Understanding event processing and, more importantly, which particular events to use is another key skill.  As you examine this little Visual
  12. lblComment4
  13. Basic application, please note that it is both very simple and considerably complex. It is complex not so much because of the number of lines of code but because of the way in which it controls what happens on its forms.  There are, perhaps, many
  14. lblComment5
  15. ways in which to add Category 2 (i.e., 'verify on exit') edits to your VB forms.  The technique for performing 'Focus U-Turns' presented herein is analagous to the technique used in Windows SDK/C/C++ edit control subclassing.  If you find this
  16. lblComment6
  17. interesting and want to learn more about focus, events, smart objects, Windows, and Visual Basic application designing and programming, then the following book will prove useful.  
  18. lblComment7
  19. ,VB=mc2:  The Art of Visual Basic Programming
  20. lblComment10
  21. by J. D. Evans, Jr.
  22. lblComment9
  23. ?Book:  $29.95    Companion Diskette:  $9.95    UPS (USA): $4.95
  24. lblComment8
  25.  ETN Corporation  RR4 Box 659  Montoursville, PA 17754-9433 USA                      Tel: (717) 435-2202   Fax: (717) 435-2802 
  26. pbtLoadFocusUTurn
  27.  Re-Load  FOCUS-U-TURN Form
  28. lblComment11
  29. JRegistered and unregistered trademarks used herein belong to their owners.
  30. pbtLoadFocusUTurn_Click
  31. Foc001
  32. Foc002
  33. rbtDirection_Click
  34. Index
  35. szMsg
  36. ngIgnoreClickA
  37. TRUEZ
  38. FALSE)
  39. ngCtlFocusID
  40. nRetVal
  41. Verify
  42. rbtDirection
  43. Value
  44. ngCurrDirectionValue
  45. nMsgOn
  46. FocusUTurnh
  47. rbtDirection_GotFocus
  48. ngVerifyOK
  49. rbtDirection_LostFocus
  50. pbtLoadFocusUTurn_Click
  51.