Ver Mensaje Individual
  #4  
Antiguo 26-03-2004
Avatar de Lepe
[Lepe] Lepe is offline
Miembro Premium
 
Registrado: may 2003
Posts: 7.424
Reputación: 29
Lepe Va por buen camino
no podrias mirar a ver ke funcion es? ademas, si pongo 23 me sale 25 y si pongo 70 me sale 77 (vamos, eso con el addprogress pero de una sola vez :S).aki estan to las funciones publicas:
Código:
 
 __fastcall virtual TCGauge(TComponent *AOwner);
 void __fastcall AddProgress(Longint Value);
 __property Longint PercentDone = {read=GetPercentDone, nodefault};
 
__published:
 __property Align ;
 __property Anchors ;
 __property Color ;
 __property Constraints ;
 __property Enabled ;
 __property TCGaugeKind Kind = {read=FKind, write=SeTCGaugeKind, default=1};
 __property Boolean ShowText = {read=FShowText, write=SetShowText, default=1};
 __property Font ;
 __property TBorderStyle BorderStyle = {read=FBorderStyle, write=SetBorderStyle, default=1};
 __property TColor ForeColor = {read=FForeColor, write=SetForeColor, default=0};
 __property TColor BackColor = {read=FBackColor, write=SetBackColor, default=16777215};
 __property Longint MinValue = {read=FMinValue, write=SetMinValue, default=0};
 __property Longint MaxValue = {read=FMaxValue, write=SetMaxValue, default=100};
 __property ParentColor ;
 __property ParentFont ;
 __property ParentShowHint ;
 __property PopupMenu ;
 __property Longint Progress = {read=FCurValue, write=SetProgress, nodefault};
 __property ShowHint ;
 __property Visible ;
gracias.

de nada
Responder Con Cita