Club Delphi  
    Paypal   FTP   CCD     Buscar   Trucos   Trabajo   Foros

Retroceder   Foros Club Delphi > Principal > Varios
Registrarse FAQ Miembros Calendario Guía de estilo Temas de Hoy

Coloboración Paypal con ClubDelphi

 
 
Herramientas Buscar en Tema Desplegado
  #2  
Antiguo 10-02-2009
Avatar de Neftali [Germán.Estévez]
Neftali [Germán.Estévez] Neftali [Germán.Estévez] is offline
[becario]
 
Registrado: jul 2004
Ubicación: Barcelona - España
Posts: 19.449
Poder: 10
Neftali [Germán.Estévez] Es un diamante en brutoNeftali [Germán.Estévez] Es un diamante en brutoNeftali [Germán.Estévez] Es un diamante en bruto
¡Qué toca-pelotas, tu jefe! ¿No?
Supongo que la única opción es hacer el pintado tú de forma manual.
Este código lo he encontrado por Internet (no es mio); A ver si te sirve o te da una idea de cómo hacerlo.

Código Delphi [-]
procedure TfrmSubscription.StatusBarDrawPanel(vStatusBar: TStatusBar;
  Panel: TStatusPanel; const Rect: TRect);
var OldColor, OldBrushColor : TColor;
    OldStyle : TFontStyles;
begin
  inherited;
  if Panel.Index = 0 then begin
    with StatusBar.Canvas do begin
      // store off the original settings
      OldColor := Font.Color;
      OldStyle := Font.Style;
      OldBrushColor := Brush.Color;
      try
        // set the Brush Color
        case SubStatus of
          stExpired: Brush.Color := clTeal;
          stCanceled: Brush.Color := clLime;
          else Brush.Color := clBtnFace;
        end;  // case SubStatus of

        // fill the panel with the brush color (ie background color)
        FillRect(Rect);

        // set the text font color / style
        Font.Color := clRed;
        Font.Style := [fsBold];

        //display the text from the panel
        TextOut(Rect.Left + 3, Rect.Top, Panel.Text);

      finally  // restore the original settings
        Font.Color := OldColor;
        Font.Style := OldStyle;
        Brush.Color := OldBrushColor;
      end;  // try/finally
    end;  // with StatusBar.Canvas do begin
  end; // if Panel.Index = 0 then begin
end;
__________________
Germán Estévez => Web/Blog
Guía de estilo, Guía alternativa
Utiliza TAG's en tus mensajes.
Contactar con el Clubdelphi

P.D: Más tiempo dedicado a la pregunta=Mejores respuestas.
Responder Con Cita
 



Normas de Publicación
no Puedes crear nuevos temas
no Puedes responder a temas
no Puedes adjuntar archivos
no Puedes editar tus mensajes

El código vB está habilitado
Las caritas están habilitado
Código [IMG] está habilitado
Código HTML está deshabilitado
Saltar a Foro

Temas Similares
Tema Autor Foro Respuestas Último mensaje
No se ve mi Status Bar JUGUE Varios 2 16-09-2008 00:26:59
Status bar franfl C++ Builder 4 21-04-2008 22:27:45
Status Impresora ciscu Impresión 2 20-09-2004 19:34:53
E_Fail Status Tecnic2 Conexión con bases de datos 0 01-09-2004 19:52:49
status de impresora noe Impresión 2 12-02-2004 20:01:42


La franja horaria es GMT +2. Ahora son las 11:51:44.


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