The OnMouseUp event returns the position of the cursor in a TScrollBox. Unfortunately, it seems that the calculation of this position is done with smallints. So, having a quite long panel, the Y returns a negative number because its value is larger than 32K.
Do you have any idea to avoid this problem?
Many thanks.
Etienne.