Solved A better length picker (1 Viewer)

oxicottin

Learning by pecking away....
Local time
Today, 08:04
Joined
Jun 26, 2007
Messages
851
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: 225

oxicottin

Learning by pecking away....
Local time
Today, 08:04
Joined
Jun 26, 2007
Messages
851
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, 12:04
Joined
Sep 21, 2011
Messages
14,051
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.
 

Dreamweaver

Well-known member
Local time
Today, 12:04
Joined
Nov 28, 2005
Messages
2,466
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, 12:04
Joined
Feb 19, 2013
Messages
16,555
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
 

arnelgp

..forever waiting... waiting for jellybean!
Local time
Today, 20:04
Joined
May 7, 2009
Messages
19,175
minor change, will show on the ruler "where you clicked".
 

Attachments

  • 32nd Ruler Picker.zip
    58 KB · Views: 142

oxicottin

Learning by pecking away....
Local time
Today, 08:04
Joined
Jun 26, 2007
Messages
851
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