|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
This is my program, except for the positioning junk, it dosent work in vbManual or vbAutomatic.
Private xoffset As Integer Private yoffset As Integer Option Explicit Private Sub ba_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single) xoffset = X yoffset = Y ba.Drag vbBeginDrag End Sub Private Sub bb_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single) xoffset = X yoffset = Y bb.Drag vbBeginDrag End Sub Private Sub Form_DragDrop(Source As Control, X As Single, Y As Single) bb.Move (X - xoffset), (Y - yoffset) ba.Move (X - xoffset), (Y - yoffset) End Sub ya, if i finish this, i'll pass it out to whoever wants it. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|