home *** CD-ROM | disk | FTP | other *** search
- ----------------------------------------------------------------
-
- Slider VBX Control
-
- Copyright 1993 Northeast Data Corp.
-
- All Rights Reserved
-
-
-
- This is the DEMO version of the control. It has the
- same characteristics as the commercial version, except
- for a notice that appears each time the control is
- loaded.
-
- ----------------------------------------------------------------
-
-
- Release 1.0
-
- August 1993
-
-
- This document describes the Slider Custom VBX Control.
-
-
- CONTENTS
-
- 1. Product Description
- 2. Legal Information
- 3. Installation
- 4. Usage
- 5. Support
-
-
- ----------------------------------------------------------------
-
- 1. Product Description
-
- The Slider VBX Control is a Microsoft Windows DLL designed and
- implemented in compliance with Microsoft standards for
- interfacing with Visual Basic.
-
- The control appears to the end user as a slider similar to those
- used on audio/video equipment such as stereos, tuners, and amplifiers.
-
- To the application programmer, the interface to the slider is similar
- to the one for the MS Windows standard scroll bar. The programmer can
- set a range of values that will be fed back to the application as the
- end user adjusts the position of the slider on its scale.
-
- Being a VBX control, the programmer can add the Slider Control to the
- tool palette in Visual Basic. This allows use of the control in Visual
- Basic forms. Since Visual C++ supports use of VBX controls, the slider
- control can also be used in the Visual C++ environment.
-
- Use of the Slider Control in a finished application requires the
- Slider Control DLL (slider.vbx) to be installed with the application.
- This is true of all custom controls written for MS Windows.
-
- There are properties available that allow the programmer to control
- the behavior and appearance of the Slider Control. The slider can appear
- in a horizontal or vertical orientation. A horizontal slider can have top
- "tick marks", bottom tick marks, no tick marks, or tick marks on both the
- bottom and top. This is also true for vertical sliders, where tick marks
- are left and right rather than top and bottom.
-
- The range of the slider can be set to any range with low and high values
- varying from 0 to 32767.
-
- All communication between the Slider Control and the application is
- performed using the standard Windows message mechanism for controls.
- Design of the Slider Control message mechanism allows the application to
- continuously monitor the setting of the control.
-
-
- -------------------------------------------------------------------
-
- 2. Legal Information
-
- The purchaser of the Slider Control is allowed to use it and
- distribute it in applications without paying any royalty, and without
- printing or displaying a copyright notice for the control. This only
- includes distribution of the Slider Control DLL. It does not include
- distribution of documentation that comes with the Slider Control.
-
- The purchaser of the Slider Control may distribute the control DLL with
- applications that are networked (multiple users accessing the DLL from
- a file server) without paying any license fees to Northeast Data Corp.
-
- All information about purchasing the control can be found during the
- initial loading of the VBX.
-
-
- -------------------------------------------------------------------
-
- 3. Installation
-
- Create a "slider" directory on your hard disk and copy all files from
- the distribution disk to the directory.
-
- Start Visual Basic or the Visual C++ App Studio applications and use
- the custom control installation function to install the slider.vbx
- control.
-
-
- -------------------------------------------------------------------
-
- 4. Usage
-
-
- PROPERTIES
- ----------
-
- BackColor - Sets the background color.
-
- CtlName - Name of the control.
-
- DragIcon - Name of the icon that will appear when the control is dragged.
-
- DragMode - Normal or automatic.
-
- Height - Height of control.
-
- Index - Index of control.
-
- Left - Left position.
-
- Max - Maximum slider value. This must be greater than the
- minimum slider value.
-
- Min - Minimum slider value. This must be less than the maximum
- slider value.
-
- Pos - Current slider position. This must be a value between
- or including the current minimum and maximum values of
- the slider.
-
- Range - Normal (0) or Inverted (1). If inverted, a vertical
- slider will increase in value from top to bottom and a
- horizontal slider will increase from right to left.
-
- TabIndex - Control tab order.
-
- TabStop - If this is turned on (1 instead of 0), the slider can
- be activated by tabbing to it with the TAB key.
-
- Tag - Control tag.
-
- TickMarks - Left, right, none or both for vertical sliders.
- Top, bottom, none or both for horizontal sliders.
-
- Top - Top of control window.
-
- Visible - Visible/Invisible attribute.
-
- Width - Width of control.
-
-
- EVENTS
- ------
-
- These events work the same way as for other VBX controls.
-
- DblClick
- DragDrop
- DragOver
- GotFocus
- KeyDown
- KeyUp
- LostFocus
- ThumbPos
-
-
- -----------------------------------------------------------------------
-
- 5. Support
-
- For technical support, call 716-247-5934 from 8:00 a.m to 5:00 p.m
- Monday through Friday.
-
-
-
-
-