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
  #8  
Antiguo 28-03-2014
jesconsa jesconsa is offline
Miembro
 
Registrado: dic 2009
Posts: 30
Poder: 0
jesconsa Va por buen camino
Y de nuevo...Efectivamente, sigo con el paso a paso y entra contiuamente el Tree en su rutina OnGetText para pintar el caption de cada nodo:

Código Delphi [-]

procedure TForm1.VST1GetText(Sender: TBaseVirtualTree; Node: PVirtualNode;
  Column: TColumnIndex; TextType: TVSTTextType; var CellText: string);
var
    CustomerRecord : PTreeData;
begin
CustomerRecord := Sender.GetNodeData(Node);

case Column of
  0: begin
        CellText := CustomerRecord.NCaption;
        if(CustomerRecord.Chk=True) then Node.CheckState:=VirtualTrees.csCheckedNormal
            else Node.CheckState:=VirtualTrees.csUncheckedNormal;

     end;
  1: if VST1.GetNodeLevel(Node)=2 then CellText := DateToStr(CustomerRecord.NColumna1);
  2: if VST1.GetNodeLevel(Node)=2 then CellText := IntToStr(CustomerRecord.NColumna2);
  3: if VST1.GetNodeLevel(Node)=2 then CellText := CustomerRecord.NColumna3;
end;

end;

........Es este su comportamiento normal?, no deberia de entrar en esta rutina cuando hay algun cambio o se hace algo con el raton (etc) y no continuamente?

Saludos
Jesus
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
F1..F12 con PageControl Parsec OOP 2 08-04-2013 12:02:25
Problema PageControl waremovil C++ Builder 8 14-09-2007 23:37:38
problema con pagecontrol y tabshet Choclito Varios 6 25-05-2006 02:54:30
Pagecontrol emiliu Varios 3 02-12-2005 07:59:23
Pagecontrol Fita Varios 2 21-12-2003 05:07:03


La franja horaria es GMT +2. Ahora son las 15:26:55.


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