Hi all, sorry for necropost, but I have same problem in 2024 - property ".width" does not refresh (but when form invisible)
Started parameters:
Label.autosize = true
FormMain.visible = false
When I change Label.Caption then the ".width" not changes
(I convert old delphi-project, there width changed)
If FormMain.visible = true then width updates.
Thx for trick with Label.width:=Label.Canvas.TextWidth(...), it works