Se puede hacer algo así:
for i := 0 to ComponentCount - 1 do
if Components[i] is TEdit then
TEdit(Components[i]).Text := '';
También podés consultar si el edit es el que querés haciendo que cada edit tenga un valor en el tag diferente que 0 entonces:
for i := 0 to ComponentCount - 1 do
if (Components[i] is TEdit) and (TEdit(Components[i]).Tag > 0) then
TEdit(Components[i]).Text := '';
Saludos
Aldo Ferszt
De: DesarrolloDelphi@... [mailto:DesarrolloDelphi@...] En nombre de Edder U2RSE
Enviado el: jueves, 12 de abril de 2007 09:19
Para: DesarrolloDelphi@...
Asunto: [Delphi] Re: Sobre edit y combobox
--- En DesarrolloDelphi@
<ingjamesluis@
>
> buenos dias grupo mi pregunat es la sigueinte como puedo limpiar y
> activar varios edits y combobox al tiempo sin necesidad de
especificar
> uno por uno muchas gracias por la atencion prestada
>
PUEDES UTILIZAR UN ACTION LIST, Y CADA VEZ QUE NECESITES REALIZAR LA
OPERACION, SOLO LE ESPECIFICAS EN TUS PROPIEDADES QUE LO MANDE
EJECUTRA :P