Delphi 动态创建Label标签

我动态创建了一个Label标签,想让窗体显示后根据条件修改它是否显示。
我加了一个timer事件,窗体show的时候调用,但是在事件里面直接赋值可以,判断是否显示就报错了,请问这是为什么呢?
TLabel(FindComponent('lblnum' + newsId)).Caption := IntToStr(newsCount);
TLabel(FindComponent('lblnum' + newsId)).Visible := True;
第一句话没有问题,第二句就报错

https://zhidao.baidu.com/question/61858872.html