|
-
August 24th, 1999, 10:30 AM
#1
Scroll Bar
How do i know whether I have pressed the top scroll bar button or the buttom scroll bar button in a Scroll bar Control. Please Help.
-
August 24th, 1999, 10:37 AM
#2
Re: Scroll Bar
trap the Value property in the VScroll-Change-Event.
it will tell you the new position between vscroll.min and vscroll.max.
private Sub VScroll1_Change()
static iLastVal as Integer
If VScroll1.Value >= iLastVal then
MsgBox "down"
else
MsgBox "up"
End If
iLastVal = VScroll1.Value
End Sub
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|