Ver Mensaje Individual
  #3  
Antiguo 10-04-2013
Parsec Parsec is offline
Miembro
 
Registrado: abr 2006
Posts: 143
Reputación: 21
Parsec Va por buen camino
Hola,

gracias por contestar, he probado con el siguiente código (sacado del hilo que me has puesto), pero no funciona.
Código Delphi [-]
for i := 1 to 10 do
      begin
         If i=k then
           TToolButton(FindComponent('ToolButton'+IntToStr(i))).Enabled:=True

          else
          TToolButton(FindComponent('ToolButton'+IntToStr(i))).Enabled:=False;
      end;

Los ToolButton no se deshabilitan, ¿que puede pasar?

Saludos
Responder Con Cita