Ver Mensaje Individual
  #2  
Antiguo 23-11-2005
Avatar de jhonny
jhonny jhonny is offline
Jhonny Suárez
 
Registrado: may 2003
Ubicación: Colombia
Posts: 7.058
Reputación: 30
jhonny Va camino a la famajhonny Va camino a la fama
La verdad no he probado muy bien este codigo pero me supongo que puedes jugar con lo siguiente:

Código Delphi [-]
var
  x :Integer;
begin
  for x := 0 to ScrollBox1.ControlCount -1 do
  begin
    if ScrollBox1.Controls[x] is TLabel then
      TLabel(ScrollBox1.Controls[x]).Free;
  end;
end;

Espero te sirva
__________________
Lecciones de mi Madre. Tema: modificación del comportamiento, "Pará de actuar como tu padre!"

http://www.purodelphi.com/
http://www.nosolodelphi.com/
Responder Con Cita