"restoredLeft, restoredTop, restoredWidth, restoredHeight" of TForm returned wrong value
Original Reporter info from Mantis: tomitomy
-
Reporter name:
Original Reporter info from Mantis: tomitomy
- Reporter name:
Description:
The value of "restoredLeft, restoredTop, restoredWidth, restoredHeight" of TForm returned wrong value when resize the form, both in Windows and Linux.
Please visit this discussion for more information:
http://forum.lazarus.freepascal.org/index.php?topic=38742.msg264269#msg264269
Steps to reproduce:
Use the code below the reproduce the issue (maximize then restore the form):
procedure TForm1.FormResize(Sender: TObject);
begin
Caption := RestoredLeft.ToString+','+RestoredTop.ToString+','+RestoredWidth.ToString+','+RestoredHeight.ToString;
end;