I just did a test on 1.6.4 64 bits windows.
They do work however, I noticed they are late on defining their values.
for example, If I implement the OnSize event for the Tform, the first OnSize event trigger shows that
theses values are all zero. But they are defined after the OnSize event, meaning, if I Maximize the form that
same OnSize event will get called again and the values are now assigned.
And if I size the form to see that it has enlarged 1 pixel for example, then do the Maximize again, I can
see that it actually sized two pixels but because these values are getting updated after the Onsize event makes it
hard to track accurate sizes if you are dragging the form size around.
procedure TForm1.FormResize(Sender: TObject);
begin
Caption := RestoredLeft.ToString+','+RestoredTop.ToString+','+RestoredWidth.ToString+','+RestoredHeight.ToString;
end;
Try this.
Initial OnSize shows 0,0,0,0;
Then do something like maximize and you'll see that they now show the restore values.
then Drag the form size so something different, you'll see they are changing but then do a maximize and you'll
see the values will to a slightly different value..
This proves it is doing late settings after the OnSize event.