if (Param is Form or Self) then begin Form.InsertControl(You TObject); Form.Components[last]:=you insert Tojbect and Form.ComponentCount+1; end else begin Application.ComponenctCount+1; //同上不过是Application对像 end else begin 这个对像是没有Parent. 但一样可用。 end;
if (Param is Form or Self) then begin Form.InsertControl(You TObject); Form.Components[last]:=you insert Tojbect and Form.ComponentCount+1; end else begin Application.ComponenctCount+1; //同上不过是Application对像 end else begin 这个对像是没有Parent. 但一样可用。 end;
begin
Form.InsertControl(You TObject);
Form.Components[last]:=you insert Tojbect
and Form.ComponentCount+1;
end else
begin
Application.ComponenctCount+1;
//同上不过是Application对像
end else
begin
这个对像是没有Parent.
但一样可用。
end;
begin
Form.InsertControl(You TObject);
Form.Components[last]:=you insert Tojbect
and Form.ComponentCount+1;
end else
begin
Application.ComponenctCount+1;
//同上不过是Application对像
end else
begin
这个对像是没有Parent.
但一样可用。
end;