Código
Var
Button : TButton;
begin
Button := TButton.Create(Form);
with Button do
begin
Parent := Form;
height := 32;
width := 128;
caption := 'Click em mim!';
left := (Form.ClientWidth - width) div 2;
top := (Form.ClientHeight - height) div 2;
end;
end;
Planeta Delphi - www.planetadelphi.com.br - Todos os direitos reservados | Copyright 2001-2009