home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic 4 Power Pack / Visual_Basic4_Power_Pack.bin / vb4files / knob_vb4 / readme.txt < prev    next >
Encoding:
Text File  |  1996-11-20  |  6.0 KB  |  203 lines

  1. ----------------------------------------------------------------
  2.  
  3.                      KNOB OCX Control  
  4.  
  5.               Copyright 1995 Northeast Data Corp.
  6.  
  7.                      All Rights Reserved
  8.  
  9. ----------------------------------------------------------------
  10.  
  11.  
  12.    Release 1.0
  13.  
  14.    December 1995
  15.  
  16.  
  17. This document describes the KNOB OLE Custom Control. 
  18.  
  19.  
  20.                CONTENTS
  21.  
  22. 1. Product Description
  23. 2. Legal Information
  24. 3. Installation
  25. 4. Usage
  26. 5. Demonstration Application
  27. 6. Ordering Information
  28. 7. Support
  29. 8. Version release notes
  30.  
  31. ----------------------------------------------------------------
  32.  
  33. 1. Product Description
  34.  
  35. The KNOB OCX Control is a Microsoft Windows OLE 2.0 custom control
  36. that presents a needle guage control similar to those used on stereo
  37. equipment.
  38.  
  39. This control is compatible with MS Windows 3.1 through Windows '95. 
  40.  
  41. Being a 16-bit OLE control, the programmer can add the KNOB Control 
  42. to the tool palette in Visual Basic 4.0 (16-bit), or to any programming
  43. environment that supports 16-bit OCX control (MS Access, for example). 
  44.  
  45. Use of the KNOB Control in a finished application requires the
  46. KNOB Control DLL (KNOB.OCX) to be installed with the application.
  47.  
  48. There are properties available that allow the programmer to control
  49. the behavior and appearance of the Control. The KNOB can appear
  50. in four different orientations. Colors of various parts of the control
  51. can be adjusted, and there are 3D properties that let you specify such
  52. things as borders and bevels.
  53.  
  54. The range of the KNOB can be set to any range with low and high values
  55. varying from 0 to 32767.
  56.  
  57.  
  58. -------------------------------------------------------------------
  59.  
  60. 2. Legal Information
  61.  
  62. The purchaser of the KNOB Control is allowed to use it and
  63. distribute it in applications without paying any royalty, and without
  64. printing or displaying a copyright notice for the control. This only
  65. includes distribution of the KNOB Control DLL (KNOB.OCX). It does 
  66. not include distribution of the KNOB.lic file, or the documentation 
  67. that comes with the Control. 
  68.  
  69. The purchaser of the KNOB Control may distribute the control DLL with
  70. applications that are networked (multiple users accessing the DLL from
  71. a file server) without paying any license fees to Northeast Data Corp.
  72.  
  73.  
  74. -------------------------------------------------------------------
  75.  
  76. 3. Installation
  77.  
  78. Note: OCX controls REQUIRE OLE V2.02 or higher. Lower versions will cause
  79. the control registration to fail.
  80.  
  81.  
  82. Create a "KNOB" directory on your hard disk and copy all files from
  83. the distribution disk to the directory. These files include:
  84.  
  85.  
  86.    KNOB.OCX
  87.    KNOB.LIC          (only supplied with registered version)
  88.    README.TXT (this file)
  89.    REGSVR.EXE
  90.    PROJECT1.VBP         (Visual Basic 4.0 16-bit demo program)
  91.    FORM1.FRM   
  92.  
  93. If you have downloaded the ZIP file from Compuserve, use
  94. PKUNZIP to extract the files into the directory.
  95.  
  96. Using the RUN command from the Program Manager, 
  97. Run the REGSVR program to register the control:
  98.  
  99.    REGSVR KNOB.OCX
  100.  
  101.  
  102. From Visual Basic 4.0, open the PROJECT1.VBP file.
  103.  
  104. If you have Microsoft Access V2.0, start it and create a form or report.
  105. From the Edit menu, choose Insert Object, and check the Custom Control
  106. radio button. Choose the KNOB control to insert it into the form or
  107. report.
  108.  
  109.  
  110.  
  111.  
  112. -------------------------------------------------------------------
  113.  
  114. 4. Usage
  115.  
  116.  
  117. PROPERTIES
  118. ----------
  119.  
  120.    About...    - Displays the about dialog box for the KNOB control.
  121.  
  122.    BackColor   - Sets the background color.
  123.  
  124.    BorderColor - Color of the border. The border is the region between
  125.                  the outer and inner bevels.
  126.  
  127.    BorderWidth - Width of the border in pixels. 
  128.  
  129.    FaceColor   - Color of the area inside the knob.
  130.  
  131.    InnerBevel  - Solid (3), Inset (0), or Raised (2).
  132.  
  133.    InnerBevelWidth - The width of the inner bevel in pixels.
  134.  
  135.    Max         - Maximum KNOB value. This must be greater than the
  136.                  minimum KNOB value.
  137.  
  138.    Min         - Minimum KNOB value. This must be less than the maximum
  139.                  KNOB value.
  140.  
  141.    NeedleColor - Color of the needle.
  142.  
  143.    Orientation - Bottom(0), Left(1), Right(2), Top(3)
  144.  
  145.    OuterBevel  - Solid (2), Inset (0), or Raised (1).
  146.  
  147.    OuterBevelWidth - The width of the outer bevel in pixels.
  148.  
  149.    Pos         - Current KNOB position. This must be a value between
  150.                  or including the current minimum and maximum values of
  151.                  the KNOB.
  152.  
  153.    ShadowColor - Black (0), Gray (1).  The color of the left and top
  154.                  sides of the outer and inner bevels when the bevel
  155.                  styles are "Inset". The color of the bottom and right
  156.                  sides when the style is set to "Raised".
  157.  
  158.  
  159. EVENTS
  160. ------
  161.  
  162.         ValueChanged   
  163.  
  164.       The parameter is the new position of the knob.
  165.  
  166.  
  167. -----------------------------------------------------------------------
  168.  
  169. 5. Demonstration Application
  170.  
  171. The VB demo app displays a set of knobs that track to a scrollbar. There
  172. are also several other knobs that show various property settings.
  173.  
  174.  
  175. -----------------------------------------------------------------------
  176.  
  177. 6. Ordering Information
  178.  
  179. The software can be ordered by filling out the registration information
  180. displayed when the control is first loaded. The registered version of
  181. this software does not display the registration dialog boxes. You may
  182. also register by using the SWREG forum on Compuserve. See the registration
  183. dialog box for the SWREG ID number for this software.
  184.  
  185.  
  186. -----------------------------------------------------------------------
  187.  
  188. 7. Support
  189.  
  190. Technical support is available only for registered users.
  191.  
  192. For technical support, call 716-247-5934 from 8:00 a.m to 5:00 p.m
  193. Monday through Friday. You may also send a FAX to this same number.
  194.  
  195.  
  196. -----------------------------------------------------------------------
  197.  
  198. 8. Version Release Notes
  199.  
  200. Version 1.0  - December 1995
  201.  
  202.    First release.
  203.