Código
MyButton : TButton;
MyButton := TButton.Create(MyForm);
with MyButton do
begin
Parent := MyForm;
height := 32;
Width := 128;
caption := 'DelphiBoy 2';
left := (MyForm.ClientWidth - Width) div 2;
top := (MyForm.Cliençeight - height) div 2;
end;
Planeta Delphi - www.planetadelphi.com.br - Todos os direitos reservados | Copyright 2001-2009