Hi Malte,
Whilst ConstrainRectangular is working as I want, it seems the ConstrainRectangularExit message is not being sent. I have a ConstrainRectangularExit handler in my object that I drag, and after I drop it, the handler isn't triggered. If I send that message to the dragged object from the MB, then the handler responds.
Bernard
ConstrainRectangularExit not sent
Moderators: heatherlaine, kevinmiller, robinmiller, malte
I notice another strange behaviour.
I have commented out all script inside the field I wish to constrain. The field is draggble within the constraints set when the mouse is down.
However, it also will drag itself when the mouse is down when the cursor goes over the field. It will follow the cursor movements around within the constrained area, until I move the cursor very quickly, then the field will drop.
Surely this is not the intended behaviour?
Bernard
I have commented out all script inside the field I wish to constrain. The field is draggble within the constraints set when the mouse is down.
However, it also will drag itself when the mouse is down when the cursor goes over the field. It will follow the cursor movements around within the constrained area, until I move the cursor very quickly, then the field will drop.
Surely this is not the intended behaviour?
Bernard