Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Being able to move a picbox (source question)


dao
 Share

Recommended Posts

There's coding in the Source for it already, you just need to call it;```
Sub MovePicture(PB As PictureBox, Button As Integer, Shift As Integer, X As Single, Y As Single)
```and put something this in your source too..```
Private Sub picScreen_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
    SOffsetX = X
    SOffsetY = Y
```
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...