|
-
Aug 24th, 2001, 07:07 AM
#1
Thread Starter
Addicted Member
Picturebox inside a Picturebox
I am using this code to move the PictInner inside of PictOuter to a certain point inside of it:
-------------------------------------------------------------------------
Private Sub PictOuter_MouseDown(Button As Integer, Shift As Integer, x As Single, Y As Single)
Dim pos As String
pos = Format(x / PictOuter.Width * 100, "0")
PictInner.left = PictOuter.Width * pos / 100
End Sub
-------------------------------------------------------------------------
My question is, how can I get the person to drag PictInner, instead of just being able to click somewhere in PictOuter, just like you would drag the sliderbar in a slider.
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
|