张志峰的博客

水滴石川,积少成多。

导航

delphi 通过控件的handle取得控件

Posted on 2013-09-17 17:21  ╰★张志峰★╮  阅读(1642)  评论(0编辑  收藏  举报

例子代码如下:

var
tsg:TstringGrid;
begin
tsg:=Tstringgrid(FindControl(handle));
//正常使用TstringGrid
//tsg.......
//....
end