Thank you for that demo. I got it to work and saw the difference between 'Panel1.BaseBounds.Right' and 'Panel1.Left+Panel1.Width'.
But my question was more ralated to the properties of a 'TForm'. So I expanded the code to
procedure TForm1.Panel1Resize(Sender: TObject);
begin
Panel1.Caption := Format(
'Right=%d BaseBounds.Right=%d', [Panel1.Left+Panel1.Width,
Panel1.BaseBounds.Right]);
self.Caption := Format(
'Right=%d BaseBounds.Right=%d', [self.Left+self.Width,
self.BaseBounds.Right]);
end;
and saw, that there is
no difference between 'self.BaseBounds.Right' and 'self.Left+self.Width' when I resize the Form.
So please let me ask again: Are e.g. 'self.BaseBounds.Right' and 'self.Left+self.Width' (where 'self' is a 'TForm') always the same or is it anyhow possible, that these are different? If yes, can you please give an example?