... Is there a way to refresh the IDE so that it will show 'New label' instead of 'Label1'?
Why? Just curious.
Thanks.
Yes, close the project, and reopen.
Why... it is because:
AFAIK, when you were editing LFM , your modification is not auto reloaded by Lazarus.
And when you just run/compile, the compiler is FPC (not lazarus who compiles your codes+LFM)
BUt, nowadays, when you back to Lazarus (after saving modified LFM), I think the Lazarus will warn you that the files opened (LFM/PAS) is has been edited outside the IDE, so you just need one more click (on OKE button) to get them syncrhonized wit Object Inspector.
Not sure, but this should be that.