Quote from: LazProgger on August 15, 2019, 10:32:56 pmPS: I have tested a bit and the error seems to happen in LCLIntf.ScreenToClient(self.handle, p) while X and Y of the MouseDown event are correct.r61705
PS: I have tested a bit and the error seems to happen in LCLIntf.ScreenToClient(self.handle, p) while X and Y of the MouseDown event are correct.
HiLooking at the behavior when bringtofront is called for a panel. It appears as though the Y ordinates have been flipped.Is it possible an issue, because Cocoa screen ordinates start top,left and lazarus start bottom-left.