home *** CD-ROM | disk | FTP | other *** search
/ Programming Tool Box / SIMS_2.iso / vb_code2 / scale / scale.txt < prev    next >
Text File  |  1994-07-07  |  3KB  |  80 lines

  1. SCALE CUSTOM CONTROL
  2. ---------------------
  3.  
  4. DESCRIPTION
  5. ----------- 
  6.  
  7. The Scale Control provides a ruler that can be placed on any VB Form.  This
  8. is very useful if you are writing a screen painter or simlar tool in Visual
  9. Basic.  This control has been designed for Visual Basic V3.0.
  10.  
  11. EVENTS AND PROPERTIES OF THE CONTROL
  12. -------------------------------------
  13.  
  14. EVENTS 
  15. --------
  16. There are Three standard events for this control.
  17.  
  18. 1. Click
  19. 2. DragDrop
  20. 3. DragOver
  21.  
  22. PROPERTIES
  23. -----------
  24.  
  25. The Control supports a subset of standard VB properties and a set of custom
  26. properties.  The custom properties supported by the control are
  27.  
  28. 1. Scale Type : This property decides as to whther the ruler has to be horizontal
  29.         or vertical.  The default is horizontal.
  30.  
  31. 2. Start :     This property sets the starting point for the ruler.  The value
  32.         must be provided in twips.  The default value is 0.
  33.  
  34. 3. Granularity : This property decides the smallest measurement that can be performed
  35.          by the ruler.  The input value must be given in twips.  The default
  36.          value is 144 twips ie. 0.1 in.
  37.  
  38. 4. Mark Length : This property is used to set the length in twips of the stroke 
  39.           used to signify the smallest unit of measurement.  The default is
  40.           0.1 in (144 twips)
  41.  
  42. 5. Half Mark   : This value gives the integral multiple that must be used to draw
  43.          the half inch marker.  The length of the half inch marker is 
  44.          determined by the following method.
  45.          Length = HalfMark * Marklength.
  46.          The default value is 2 (ie. The Half Inch Marker is twice as long as
  47.          the smallest marker )
  48.  
  49. 6. Inch Mark   : This value is similar to the half mark but it is used to determine
  50.          the length of the One Full Inch marker.  The Default is 3.
  51.  
  52.  
  53. The standard properties supported by SCALE are quite straightforward.  
  54. Note : The Align standard property applies only when the scale type is Horizontal
  55.        For a vertical scale it will produce bizzaire results.
  56.  
  57.  
  58.  
  59. This Control is provided as a Public Domain freeware that you can use in 
  60. your VB applications provided you agree that the author has no warranty,
  61. obligation or liability for the Custom Control File.
  62.  
  63.  
  64. This .INI control was designed for and tested with Visual Basic v3.0 
  65. and Windows v3.1.
  66.  
  67. COPYRIGHT 
  68.  
  69. Visual Basic v3.0 and  Windows v3.1 are copyrights of Microsoft Corp.
  70.  
  71.  
  72.         Please feel free to send suggestions and comments to
  73.  
  74.  
  75.  
  76.         Vivek Venugopalan -  CompuServe ID 73512,3675.
  77.  
  78.  
  79.  
  80.