Foros Club Delphi

Foros Club Delphi (https://www.clubdelphi.com/foros/index.php)
-   Varios (https://www.clubdelphi.com/foros/forumdisplay.php?f=11)
-   -   Poner TLabel en panel de statusbar (https://www.clubdelphi.com/foros/showthread.php?t=63348)

Paulao 10-02-2009 14:35:49

Poner TLabel en panel de statusbar
 
Como hago para poner un Tlabel en un Panel de StatusBar? Ejemplo: En el panel 6 de Statusbar1 yo quiero poner a un Label.

droguerman 10-02-2009 14:47:20

Has intentado hacer algo como:
Código Delphi [-]
function CrearLabel(parent : TStatusBar);
var
  oLabel : TLabel;
begin
  oLabel := TLabel.create(parent);
  oLabel.Parent  := parent;
  oLabel.caption := 'hello';
  oLabel.top := 0;
  oLabel.left := 0;
  oLabel.visible := true;
end;


La franja horaria es GMT +2. Ahora son las 14:01:00.

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