[RESOLVED] trouble with vscrollbar
i added a vscrollbar control and coded the following
VB Code:
Private Sub vs1_Change()
SaveSetting App.EXEName, "Options", "timeout", Val(txttimeout.Text)
txttimeout.Text = vs1.Value
End Sub
but when i click the up button ,the value reduces and when i click the down it increases.but i think it should be the other way around ??
why is that so?
Re: trouble with vscrollbar
the Top is considered to be 0, as with most things in Windows.
just do
VB Code:
Private Sub vs1_Change()
txttimeout.Text = [B]vs1.Max - [/B]vs1.Value
End Sub
Re: trouble with vscrollbar
yea that works thanks again