![]() |
![]() |
![]() |
![]() |
![]() |
FTP | ![]() |
![]() |
CCD | ![]() |
![]() |
Buscar | ![]() |
![]() |
Trucos | ![]() |
![]() |
Trabajo | ![]() |
![]() |
Foros | ![]() |
|
Registrarse | FAQ | Miembros | Calendario | Guía de estilo | Temas de Hoy |
![]() |
|
Herramientas | Buscar en Tema | Desplegado |
|
#1
|
||||
|
||||
Pues no sé, es que no tengo el Builder para probar.
|
#2
|
||||
|
||||
Llevo desde ayer dándole vueltas y lo más que he conseguido ha sido esto:
![]() con este código: Código:
void __fastcall TfDatos::DesglosesBeforeItemPaint(TBaseVirtualTree *Sender, TCanvas *TargetCanvas, PVirtualNode Node, TRect &ItemRect, bool &CustomDraw) { vsRect = ItemRect; } //--------------------------------------------------------------------------- void __fastcall TfDatos::DesglosesPaintText(TBaseVirtualTree *Sender, const TCanvas *TargetCanvas, PVirtualNode Node, TColumnIndex Column, TVSTTextType TextType) { TargetCanvas->Font->Color = clBlack; TargetCanvas->Font->Style = ((PTreeDesglose)Sender->GetNodeData(Node))->Concepto.Pos("TOTAL") != 0 ? TFontStyles() << fsBold : TFontStyles() >> fsBold; TargetCanvas->Brush->Color = ((PTreeDatos)Sender->GetNodeData(Node))->Concepto.Pos("TOTAL") != 0 ? clYellow : clWhite; TargetCanvas->FillRect(vsRect); } //--------------------------------------------------------------------------- |
![]() |
|
|
![]() |
||||
Tema | Autor | Foro | Respuestas | Último mensaje |
Saber si un TVirtualStringTree tiene datos | Angel.Matilla | C++ Builder | 1 | 29-07-2020 13:21:07 |
Personalizar TVirtualStringTree | Angel.Matilla | C++ Builder | 10 | 23-11-2019 10:10:49 |
Cargar datos en TVirtualStringTree | Angel.Matilla | C++ Builder | 2 | 28-09-2019 12:04:22 |
Efectos de Ventanas | gerald | Gráficos | 10 | 30-10-2008 23:49:49 |
Efectos del Calor | FGarcia | La Taberna | 13 | 14-05-2008 00:12:00 |
![]() |
|