View Issue Details

IDProjectCategoryView StatusLast Update
0036059LazarusOtherpublic2019-12-16 11:31
ReporterHenri MaquoiAssigned ToBart Broersma 
Status resolvedResolutionunable to reproduce 
Product Version2.0.4Product Build 
Target VersionFixed in Version 
Summary0036059: Function BitBtnClick ends with parent window's closing
DescriptionThis kind of code works quite well but.. ends closing the parent window!

procedure TFormDisplay.BtnGreyToColorClick(Sender: TObject);
  I, J, MinX, MinY, MaxX, MaxY, Colour, ColRef, Count,
  R, G, B: Integer;
  For J:=0 to Image.Picture.BitMap.Height-1 do Begin
    For I:=0 to Image.Picture.BitMap.Width-1 do Begin
      Colour:=Image.Picture.Bitmap.Canvas.Pixels[I, J];
      If (R=G) and (R=B) Then Begin
        Image.Picture.Bitmap.Canvas.Pixels[I, J]:=GetColorFromGrey(Colour);
TagsNo tags attached.
Fixed in Revision
Attached Files


has duplicate 0036058 resolvedBart Broersma Fermeture inopinée d'une fenêtre en fin de procédure liée à un BitBtn de celle-ci. 



2019-09-09 18:21

developer   ~0118006

Last edited: 2019-09-09 18:22

View 2 revisions

Please post a simple compilable project from which we can reproduce the issue, not just a code snippet.

Bart Broersma

2019-12-16 11:31

developer   ~0119879

No feedback, resolving.

Issue History

Date Modified Username Field Change
2019-09-09 17:41 Henri Maquoi New Issue
2019-09-09 18:21 wp Note Added: 0118006
2019-09-09 18:22 wp Note Edited: 0118006 View Revisions
2019-09-09 19:13 Bart Broersma Status new => feedback
2019-09-09 19:13 Bart Broersma LazTarget => -
2019-09-09 19:16 Bart Broersma Relationship added has duplicate 0036058
2019-12-16 11:31 Bart Broersma Assigned To => Bart Broersma
2019-12-16 11:31 Bart Broersma Status feedback => resolved
2019-12-16 11:31 Bart Broersma Resolution open => unable to reproduce
2019-12-16 11:31 Bart Broersma Widgetset Win32/Win64 => Win32/Win64
2019-12-16 11:31 Bart Broersma Note Added: 0119879