Foros Club Delphi

Foros Club Delphi (https://www.clubdelphi.com/foros/index.php)
-   Varios (https://www.clubdelphi.com/foros/forumdisplay.php?f=11)
-   -   no me ejecuta por que? (https://www.clubdelphi.com/foros/showthread.php?t=23620)

fabian20s 22-07-2005 20:06:55

no me ejecuta por que?
 
tlabel:=tlabel.Create (Self);
tlabel.caption := 'R' ;
tlabel.Font.Size := 20;
tlabel.Visible := true;
tlabel.Left := (((Origen.X+x) div 2));
tlabel.top := (((Origen.Y+y) div 2));


no reconose el caption ni el fort.size

marcoszorrilla 22-07-2005 21:24:01

Tienes que hacer algunos cambios:

Código Delphi [-]
 procedure TForm1.Button1Click(Sender: TObject);
 var
 MiLabel:Tlabel;
 begin
 Milabel:=tlabel.Create (Self);
 MiLabel.Parent:=Self;
 Milabel.caption := 'R' ;
 Milabel.Font.Size := 20;
 Milabel.Visible := true;
 end;

Un Saludo.


La franja horaria es GMT +2. Ahora son las 07:13:34.

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Traducción al castellano por el equipo de moderadores del Club Delphi