Cita:
Empezado por rose
lo que quiero hacer es preguntarle al tlist que tiene guardado.
|
De la misma forma que estoy recorriendo Controls puedes recorrer los objetos del TList
Código Delphi
[-]var
i: Integer;
begin
for i := 0 to List.Count -1 do
if List[i] is TButton then
TButton(List[i]).Caption := '...'
else if List[i] is TCustomEdit then
TCustomEdit(List[i]).Text := '...';
end;
Saludos!