Delphi 通过名称调用控件
RTI (Runtime Type Information)
var
Edit: TComponent;
begin
Edit := FindComponent("Edit1");
If Edit is TEdit then
TEdit(Edit).Text := ‘你好 Delphi7‘;
end;
创建时间:2020.10.30 更新时间:
2023-11-03 15:56:04
Delphi 通过名称调用控件
RTI (Runtime Type Information)
var
Edit: TComponent;
begin
Edit := FindComponent("Edit1");
If Edit is TEdit then
TEdit(Edit).Text := ‘你好 Delphi7‘;
end;
创建时间:2020.10.30 更新时间: