Slider ActiveX Control Properties and Events

Properties

About BackColor BackgroundBitmap
BorderColor BordeWidth CenterBar
HiliteColor InnerBevel InnerBevelWidth
Max Min NeedleColor
Orientation OuterBevel OuterBevelWidth
Pos ShadowColor ThumbBitmap
TickColor TickMarks TickStyle


Events

Scroll Click DblClick

About... 

Displays the about dialog box for the Slider control.
[back to top]


BackColor 

Sets the background color.
[back to top]


BackgroundBitmap 

Name of the bitmap file to be used for the background. The 
bitmap will be stretched to fit the size of the control.
[back to top]


BorderColor 

Color of the border. The border is the region between
the outer and inner bevels.
[back to top]


BorderWidth 

Width of the border in pixels.
[back to top]


CenterBar      

Width of the center bar. If zero is specified, no center
 bar appears.
[back to top]


HiliteColor 

Color of the top and left sides of the inner and outer
bevels if the bevel properties are set to "Raised"
or "Solid".  Color of the bottom and right sides if the bevel
properties are set to "Inset".
[back to top]


InnerBevel 

Solid (3), Inset (0), or Raised (2).
[back to top]


InnerBevelWidth 

The width of the inner bevel in pixels.
[back to top]


Max 

Maximum Slider value. This must be greater than the
minimum Slider value.
[back to top]


Min 

Minimum Slider value. This must be less than the maximum
Slider value.
[back to top]


NeedleColor 

Color of the needle, if there is no thumb bitmap specified
in the ThumbBitmap property.
[back to top]


Orientation 

Horizontal (0) or Vertical(1).
[back to top]


OuterBevel 

Solid (2), Inset (0), or Raised (1).
[back to top]


OuterBevelWidth 

The width of the outer bevel in pixels.
[back to top]


Pos 

Current Slider position. This must be a value between
or including the current minimum and maximum values of
the Slider.
[back to top]


ShadowColor 

Black (0), Gray (1). The color of the left and top
sides of the outer and inner bevels when the bevel
styles are "Inset". The color of the bottom and right
sides when the style is set to "Raised".
[back to top]


ThumbBitmap     

Name of the bitmap or icon file to use for the thumb. If
(none) is specified, a default "needle" will be used for
the thumb. The width of the bitmap will be stretched to
fit a vertical slider. The height will be stretched to
fit a horizontal slider.
[back to top]


TickColor 

Color of tick marks.
[back to top]


TickMarks 

The number of tick marks to display.
[back to top]


TickStyle 
   
Solid (2), Inset (0), or Raised (1).
[back to top]


EVENTS Detail

Scroll   
      
The Value parameter contains the new slider position.
[back to top]


Click

Single click of the mouse anywhere on the control.
[back to top]


DblClick 
       
Double click of the mouse anywhere on the control.
[back to top]


       

MOUSE SUPPORT

The left mouse button can be used to drag the thumb to any position.
Double-clicking will instantly position the thumb under the mouse
pointer.
[back to top]


KEYBOARD SUPPORT

The slider position can be adjusted using the + and - keys.
[back to top]

Northeast Data Corp
Charlotte, NC 
nedatacorp@carolina.rr.com