是这样写的,没反应,是不是要触发什么呀
Private Sub PatientCard1_DragOver(Index As Integer, Source As Control, x As Single, y As Single, State As Integer)
If y + PatientCard1(Index).Height > PictureC.Top + PictureC.Height Then
VScroll1.Value = VScroll1.Value + 2535 * 1.05
picture1.top=-VScroll1.Value
End If
End Sub
Private Sub PatientCard1_DragOver(Index As Integer, Source As Control, x As Single, y As Single, State As Integer)
If y + PatientCard1(Index).Height > PictureC.Top + PictureC.Height Then
VScroll1.Value = VScroll1.Value + 2535 * 1.05
End If
End Sub
好像没反应呀