Fórum Apagar Edits. #321842
22/05/2006
0
Obrigado.
Abraço.
Rui Pedro
Rui Lisboa
Curtir tópico
+ 0Posts
22/05/2006
Adriano Santos
Obrigado.
Abraço.
Rui Pedro[/quote:afe202e11c]
Sim claro, faça um for em todo o formulário, veja:
procedure TForm1.Button1Click(Sender: TObject); var I: Integer; begin for I := 0 to ComponentCount - 1 do if Componentes[I] is TEdit then TEdit(Components[I]).Text := ´´; end;
Gostei + 0
22/05/2006
Rui Lisboa
if Componentes[I] is TEdit then
Gostei + 0
22/05/2006
Adriano Santos
if Componentes[I] is TEdit then[/quote:c326acef65]
Tem um ´E´ a mais.
if Components[I] is TEdit then
Gostei + 0
Clique aqui para fazer login e interagir na Comunidade :)