SETUP:
In one class I have a Frame-Object called RaumHandle that handles DragDrop-Events.
And I have a PictureBox-Object called Portraet in a second class. I can drag these PictureBox-Objects into the Frame-ObjectsCode:Private Sub RaumHandle_DragDrop(Source As Control, X As Single, Y As Single) Source.DragIcon = RaumHandle.DragIcon If EintrittErlaubt Then Spielfeld.Spiel.PositionAendern Source, Nr End If End Sub
PROBLEM:Code:Private Sub Portraet_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single) If Portraet.Container.Tag > 100 Then Portraet.Drag 1 End Sub
Now my Portraet blocks the RaumHandle and gets the DragDrop-Events when I try to Drag another Instance on RaumHandle.
ANSWER:
How can I ignore an Event - in this case DragDrop - for an Object? Or handle the Event to the Container-Object (RaumHandle is Container for Portraet)
Thanx for your help,
bjoern
[Edited by bulleye on 11-16-2000 at 06:52 PM]


Reply With Quote