updown buddies

Ad1
05-08-2001, 03:56 AM
I have an updown button buddied with a textbox, what I need is to have the increment set at 0.1 but I can only set it to an integer value, is there a way around this?

DanEvans
05-08-2001, 04:13 AM
You could just cheat and increment it manually:

Private Sub UpDown1_UpClick()
Text1.Text = Val(Text1.Text) + 0.1
End Sub

Private Sub UpDown1_DownClick()
Text1.Text = Val(Text1.Text) - 0.1
End Sub

Hope this helps,

-Dan Evans

Ad1
05-08-2001, 04:23 AM
cheers Dan, why didn't I think of that ?

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum