Solved A better length picker (1 Viewer)

oxicottin

Learning by pecking away....
Local time
Today, 08:33
Joined
Jun 26, 2007
Messages
666
I have a length picker I have been using for several years and I get complaints on having to slide the button bla bla.. Is there another way I could display lengths in 1/32 increments in the below format up to 2"? I didn't create the picker I had help and really have no idea how it works....

0-0/32 TO 1-31/32
 

Attachments

  • 32nd Ruler Picker.accdb
    424 KB · Views: 23

oxicottin

Learning by pecking away....
Local time
Today, 08:33
Joined
Jun 26, 2007
Messages
666
Do you think its easy to use? The range could be cut down I really only need a range like 0-15/32 TO 1-15/32. I could use a combo box list value with those measurements?
 

Gasman

Enthusiastic Amateur
Local time
Today, 13:33
Joined
Sep 21, 2011
Messages
7,463
Well it does not go up to 2".?
The highest is 1 31/32?
Personally, I think it is fine, however a combo in 1/32 increments would work just as well, if not better, I would have thought.?

Certainly determining mouse position is a lot harder.
I have managed to get it to move with mouse clicks, but only incrementing and then not jumping to where the cursor is? When mine only went to 1 31/32, I had to go back and check yours.
To reduce, I have to use the slider.

Not something I have tried before I admit.
 

MickJav

It wasn't me
Local time
Today, 13:33
Joined
Nov 28, 2005
Messages
2,332
If you add this it will give you the location you should be able to add the rest

Code:
Private Sub imgSlider_MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single)
Dim W As Long
W = Me.imgSlider.Width \ 32
W = (X \ W) + 1
MsgBox W
End Sub
 
Last edited:

CJ_London

Super Moderator
Staff member
Local time
Today, 13:33
Joined
Feb 19, 2013
Messages
12,752
you could have 1 textbox which allows the user to enter 1 to 63 number of 32nds - really depends on how the user thinks of this number
 

oxicottin

Learning by pecking away....
Local time
Today, 08:33
Joined
Jun 26, 2007
Messages
666
Arnelgp, that's awesome thanks you!!! One question though, is there a way you can use your arrow keys to better control it? Sorry it took so long for a response I was on vacation :)
 

Users who are viewing this thread

Top Bottom