View Single Post
  #4   Spotlight this post!  
Unread 06-01-2003, 00:18
Gope Gope is offline
Registered User
#0016 (Bomb Squad)
 
Join Date: Jul 2002
Location: Mountain Home, AR
Posts: 230
Gope is on a distinguished road
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.
__________________
College and its wonders. First year and alot of other FIRSTs.