home *** CD-ROM | disk | FTP | other *** search
- SCALE CUSTOM CONTROL
- ---------------------
-
- DESCRIPTION
- -----------
-
- The Scale Control provides a ruler that can be placed on any VB Form. This
- is very useful if you are writing a screen painter or simlar tool in Visual
- Basic. This control has been designed for Visual Basic V3.0.
-
- EVENTS AND PROPERTIES OF THE CONTROL
- -------------------------------------
-
- EVENTS
- --------
- There are Three standard events for this control.
-
- 1. Click
- 2. DragDrop
- 3. DragOver
-
- PROPERTIES
- -----------
-
- The Control supports a subset of standard VB properties and a set of custom
- properties. The custom properties supported by the control are
-
- 1. Scale Type : This property decides as to whther the ruler has to be horizontal
- or vertical. The default is horizontal.
-
- 2. Start : This property sets the starting point for the ruler. The value
- must be provided in twips. The default value is 0.
-
- 3. Granularity : This property decides the smallest measurement that can be performed
- by the ruler. The input value must be given in twips. The default
- value is 144 twips ie. 0.1 in.
-
- 4. Mark Length : This property is used to set the length in twips of the stroke
- used to signify the smallest unit of measurement. The default is
- 0.1 in (144 twips)
-
- 5. Half Mark : This value gives the integral multiple that must be used to draw
- the half inch marker. The length of the half inch marker is
- determined by the following method.
- Length = HalfMark * Marklength.
- The default value is 2 (ie. The Half Inch Marker is twice as long as
- the smallest marker )
-
- 6. Inch Mark : This value is similar to the half mark but it is used to determine
- the length of the One Full Inch marker. The Default is 3.
-
-
- The standard properties supported by SCALE are quite straightforward.
- Note : The Align standard property applies only when the scale type is Horizontal
- For a vertical scale it will produce bizzaire results.
-
-
-
- This Control is provided as a Public Domain freeware that you can use in
- your VB applications provided you agree that the author has no warranty,
- obligation or liability for the Custom Control File.
-
-
- This .INI control was designed for and tested with Visual Basic v3.0
- and Windows v3.1.
-
- COPYRIGHT
-
- Visual Basic v3.0 and Windows v3.1 are copyrights of Microsoft Corp.
-
-
- Please feel free to send suggestions and comments to
-
-
-
- Vivek Venugopalan - CompuServe ID 73512,3675.
-
-
-
-