Re: Slider Bar for Survey

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



I was able to replicate this slider control and it works well. Is there
anyway to associate numeric values to where the user clicks on the slider.

"GraemeR" wrote:

> Hi Jim, there are third party controls for this e.g. Microsoft Slider
> Control that you may have installed on your system. I think it's part of VB.
>
> To create the whole thing in MS Access I would place a label and a couple of
> lines on a form.
> Place a horizontal line on the form and set it's style to Chiseled. This
> will be your slider.
> Place a label (named lblBackground) over the line (background
> transparent)Make it tall enough to easily catch the MouseDown and MouseMove
> events (a line isn't tall enough.)
> Place a space in the Label so that MS Access doesn't delete the control on
> exiting it.
> Place a short vertical line on the form (called linMarker) to mark where the
> user clicked.
>
> To indicate where a user clicked on the slider
>
> Private Sub lblBackground_MouseDown(Button As Integer, Shift As Integer, X
> As Single, Y As Single)
>
> linMarker.Left = lblBackground.Left + X
> linMarker.Width = 0
>
> End Sub
>
> Obviously you can trap the MouseMove event to add some flare.
> Also, use something a little more creative than a vertical line for the
> marker.
> Cheers, Graeme.
>
>
>
.



Relevant Pages

  • Re: Slider Bar for Survey
    ... > I was able to replicate this slider control and it works well. ... > anyway to associate numeric values to where the user clicks on the slider. ... >> Private Sub lblBackground_MouseDown(Button As Integer, Shift As Integer, X ...
    (microsoft.public.access.forms)
  • Re: Slider Bar for Survey
    ... Right-click on the control in design mode, then select Slider Object - ... there are third party controls for this e.g. Microsoft Slider ... >> Private Sub lblBackground_MouseDown(Button As Integer, Shift As Integer, ...
    (microsoft.public.access.forms)
  • Re: God, someone please help me.
    ... the main vocals or solo instrument was faint and had excessive echo. ... When I tried HP's PC Doctor, I discovered a lack of stereo seperation. ... Programs>Accesories>Entertainment>Volume Control. ... Volume Control slider seemed to work, ...
    (microsoft.public.windowsxp.music)
  • Re: volume setting
    ... When I go to the control ... volume is reduced and the volume slider is at the down position. ... So I did a registry ... I don't think the audio driver is reading this registry key, ...
    (microsoft.public.windowsce.platbuilder)
  • Re: About image original size
    ... the function sldZoom_callback is some control or just a normal function. ... magnification (one screen pixel for each image pixel)." ... zoom with a slider and pan/scroll by clicking and dragging in the ... can pan by clicking and dragging in the image.', zoomFactor, round ...
    (comp.soft-sys.matlab)