General information
Category:
Formulários & Criador de Formulários
Can you help me here? I'm getting error OLE IDispatch exception code 0 from Nodes: Invalid key..
How can I get the child nodes of a selected root node?
Assuming that you have an object reference to the parent node:
*** Process all the child nodes
lnChildren = toNode.Children
IF lnChildren > 0
loChild = Thisform.oTree.Nodes( Thisform.oTree.Nodes( toNode.Key ).Child ) <--- I get error here
DO WHILE VARTYPE( loChild ) = [O]
*** Do something with the child node
*** And get the next child
loChild=loChild.Next
ENDDO
ENDIF
Previous
Next
Responder
Visualizar o mapa desta thread
View the map of this thread starting from this message only
Visualizar todas as mensagens desta thread
Visualizar todas as mensagens desta thread a partir desta mensagem