On Thursday 03 August 2017 00:19:05 Fred van Stappen wrote:
> Hello Martin.
>
> I have the bandit.
>
> He was hidden in msegui.pas, inside function twidget.aligny().
>
> At line 8275 --->
>
>    wam_center: begin
>      result:= frootpos.y + framepos.y + framesize.cy div 2;
>     end;
>
> I change it with this:
>
>    wam_center: begin
>      if awidget.framesize.cy >= awidget.height then
>      result:= frootpos.y + framepos.y + framesize.cy div 2 else
>      result:= frootpos.y + framepos.y + awidget.height div 2;
>     end;
>
You never give up! ;-)

I must be able to reproduce the problem before I can make changes. How looks 
the stack trace at the crash?

Martin

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
mseide-msegui-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk

Reply via email to