2011/08/16

Owner vs. Parent in Delphi Applications

Owner vs. Parent in Delphi Applications

很有意思的一段,在搜尋Panel裡所有的元件時,很有幫助:
for ii := 0 to Panel1.ControlCount - 1 do

   Panel1.Controls[ii].Visible := false;

沒有留言:

張貼留言