Ver Mensaje Individual
  #4  
Antiguo 07-08-2020
manelb manelb is offline
Miembro
 
Registrado: mar 2017
Posts: 297
Reputación: 10
manelb Va por buen camino
Buenos días a todos....

Pues podrías probar con algo como esto

Código Delphi [-]
var
  c: Tcomponent;
begin
  c:= Button1;

  SetPropValue(c, 'Caption', 'Functiona');
  SetPropValue(c, 'Tag', 25);
  SetPropValue(c, 'Anchors', 'akBottom,akRight');


  SetPropValue( GetObjectProp(c,  'Margins'), 'Bottom', 50);
  SetPropValue( GetObjectProp(c,  'Font'), 'Size', 20);

end;

Debes tener en el uses System.TypInfo

Saludos.
Responder Con Cita