home *** CD-ROM | disk | FTP | other *** search
/ Programming Tool Box / SIMS_2.iso / vb_code2 / t_button / read.txt < prev    next >
Text File  |  1993-11-26  |  5KB  |  124 lines

  1. ***************************************************************************
  2. *
  3. *  McKean Consulting
  4. *  Robin W. McKean
  5. *  1042 Braddock Circle
  6. *  Woodstock GA  30188
  7. *
  8. *  TBTN.VBX
  9. *
  10. *  Toolbar Button Control for Visual Basic 3.0
  11. *
  12. ***************************************************************************
  13.  
  14. TBTN is a custom control which allows the Visual Basic developer to place
  15. true "buttons" on a toolbar.  No longer will you have to write code to
  16. swap out pictures when the mouse button is pressed or released.  Additionally,
  17. the focus is not transferred to the TBTN control when it is selected with the
  18. mouse.
  19.  
  20. ***************************************************************************
  21.  
  22. This ZIP file contains:
  23.  
  24.     TBTN.VBX         VB version of the TBTN custom control
  25.     PROJECT1.MAK    Sample project file for TBTN
  26.     FORM1.FRM    Form used by the sample project
  27.     READ.ME        This file
  28.     *.BMP        Various bitmap files used by the sample project
  29.  
  30.  
  31. ***************************************************************************
  32.  
  33. REGISTRATION
  34.  
  35. Time for the sob story.  This Toolbar Button Control is Shareware.  It is
  36. NOT crippled in anyway.  When you download this custom control, you have
  37. the same custom control that I am using in my everyday VB programming.
  38. As a Shareware contributor, I am counting on the honor and moral fiber of
  39. every person who downloads this custom control to do the right thing.  I
  40. have contributed and participated in the Shareware arena for years now.
  41. Your small contribution can make a difference to me and my family...
  42.  
  43. If you like and appreciate this custom control...
  44.  
  45.   1)  Send $7.00 to the address listed above
  46.   2)  Register in the SWREG conference on Compuserve.  (ID 1611)
  47.  
  48. Registered users may purchase source...
  49.  
  50.   Send $25.00 to me at the above address.
  51.  
  52. ***************************************************************************
  53.  
  54. ENHANCEMENTS and PROBLEMS
  55.  
  56. The control, as is, works the way that I want it to.  This does not mean
  57. that it will work the way that you want it to.   Along those lines, I
  58. totally disclaim that the control will do anything whatsoever.  This
  59. includes any implied abilities and any WARRANTIES, including those for
  60. SUITABILITY for a particular purpose, MERCHANTIBILITY, and all that other
  61. bull crap.
  62.  
  63. With that aside, I would love positive criticism.  I will enhance the
  64. control if I receive enough request to do so.  As I said, it works the way
  65. I want to, and I hope some of you will find a positive use for it as well.
  66. Contact me at the above address, Compuserve, or Shareware South here in
  67. Atlanta if you feel the need to do so.
  68.  
  69. ***************************************************************************
  70.  
  71. PROGRAMMER'S NOTES (or, what I need to know to use this custom control)
  72.  
  73. The following is a desciption of each additional property, what it does,
  74. and how touse it in your own VB programming.
  75.  
  76.  
  77. Picture
  78.  
  79. This property should be set at design or run-time to the bitmap you want
  80. displayed when the button is in the UP, DOWN and DISABLED state.  The bitmap
  81. should be evenly divisible by three.  The first third is the UP bitmap.  The
  82. second third is the DOWN bitmap, and the final third is the DISABLED bitmap.
  83.  
  84. Enabled
  85.  
  86. This property, as it implies, enables and disables the button.  Enabling
  87. the button causes the PictureUp bitmap to be displayed, and disabling
  88. causes the PictureDisabled bitmap to be displayed.
  89.  
  90. Sticky
  91.  
  92. This property determines if the button remains in the toggled state when
  93. pressed.  When pressed again it becomes "untoggled".
  94.  
  95. Toggled
  96.  
  97. This property is true if the button is in the toggled state.  Setting this
  98. property to true causes the button to be toggled.
  99.  
  100. ***************************************************************************
  101.  
  102. REACHING THE AUTHOR
  103.  
  104. I can be reached via U.S. Mail at the address listed above.  You can reach
  105. me via E-Mail at the following locations...
  106.  
  107. Compuserve:        Robin W. McKean
  108.             72622,1403
  109.  
  110. Shareware South:    Robin W. McKean
  111.             Atlanta, GA
  112.  
  113. ***************************************************************************
  114.  
  115. REVISION HISTORY
  116.  
  117. 3.00.0000    Initial release of the TBTN.VBX custom control
  118. 3.01.0000    Removed PictureUp, PictureDown, and PictureDisabled in
  119.         favor of one bitmap with three "button" pictures in it.
  120.         This saves on load time and memory requirements.
  121. 3.02.0000    Added sticky qualities, border, and toggled property
  122.  
  123. ***************************************************************************
  124.