Fórum criando um dbedit em tempo de execução #206034
12/01/2004
0
Obrigado!
Linhares
Curtir tópico
+ 0Posts
13/01/2004
Lucas Silva
Olha só, você pode colocar o Visible dele pra false, e depois você passa pra True.
Espero ter ajudado.
Lucas!
Gostei + 0
13/01/2004
Nigro
procedure TForm1.BotaoCriaOnClick(Sender : TObject);
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;
Gostei + 0
13/01/2004
Gilbertoscruz
[b:2a6acfae0e]var[/b:2a6acfae0e]
Edt: TDBEdit;
[b:2a6acfae0e]Begin[/b:2a6acfae0e]
Edt := TDBEdit.Create(Self);
Edt.Parent := Self;
Edt.SetBounds(Left, Top, Width, Height);
[b:2a6acfae0e]End;[/b:2a6acfae0e]
blz !!
Gostei + 0
Clique aqui para fazer login e interagir na Comunidade :)