From: <ah...@us...> - 2010-03-16 22:12:33
|
Revision: 12725 http://jvcl.svn.sourceforge.net/jvcl/?rev=12725&view=rev Author: ahuser Date: 2010-03-16 22:12:27 +0000 (Tue, 16 Mar 2010) Log Message: ----------- Mantis #5194: Right click on a TJvCaptionPanel's caption bar blocks right click on other controls Modified Paths: -------------- trunk/jvcl/run/JvCaptionPanel.pas Modified: trunk/jvcl/run/JvCaptionPanel.pas =================================================================== --- trunk/jvcl/run/JvCaptionPanel.pas 2010-03-16 22:02:54 UTC (rev 12724) +++ trunk/jvcl/run/JvCaptionPanel.pas 2010-03-16 22:12:27 UTC (rev 12725) @@ -796,7 +796,12 @@ begin inherited MouseUp(Button, Shift, X, Y); if FDragging then + begin + {$IFDEF JVCAPTIONPANEL_STD_BEHAVE} + ReleaseCapture; + {$ENDIF JVCAPTIONPANEL_STD_BEHAVE} DoLeaveDrag; + end; FDragging := False; end; @@ -892,4 +897,4 @@ UnregisterUnitVersion(HInstance); {$ENDIF UNITVERSIONING} -end. +end. \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |