Ver Mensaje Individual
  #1  
Antiguo 09-05-2022
Avatar de Angel.Matilla
Angel.Matilla Angel.Matilla is offline
Miembro
 
Registrado: ene 2007
Posts: 1.350
Reputación: 19
Angel.Matilla Va por buen camino
NodeParent en TVirtualStringTree

Estoy tratando de averiguar cual es el nodo del que cuelga en un TVirtualStringTree otro nodo. Estoy casi convencido de que lo he preguntado ya pero no soy capaz de encontrar ningún código que me ayude.

Según la ayuda de este elemento:
Cita:
TBaseVirtualTree.NodeParent Property
TBaseVirtualTree Class | See AlsoRead or set a node's parent node.

Pascal
property NodeParent [Node: PVirtualNode]: PVirtualNode;
Description
When reading this property then either the node's real parent node is returned or nil if the parent node is the internal, hidden root node. When writing to this property you will effectively move a node to a new location.
Es una propiedad del elemento pero con este código:
Código:
while (Nodo->NodeParent != NULL)
donde Nodo es un PVirtualNode que representa el nodo activo en este momento, al compilar me dice:
Cita:
'NodeParent' is not a member de 'TVirtualNode'
¿Alguna idea?
Responder Con Cita