Fórum TreeView, node pai. #277803
18/04/2005
0
Estou precisando pegar o nome do Node pai de certo item do TreeView, como faço?
tentei fazer da seguinte maneira :
for i := 0 to tvLicenca.Items.Count -1 do begin s := tvLicenca.Items.Item[i].Parent.Text; end;
mas me retorna o seguinte erro :
[color=red:b9438f33ae]Project Compras.exe raised exception class EAccessViolation message ´Access Violation at address´...[/color:b9438f33ae]
Douglasf
Curtir tópico
+ 0Posts
19/04/2005
Douglasf
Gostei + 0
19/04/2005
Kapak
for i := 0 to tvLicenca.Items.Count -1 do begin s := tvLicenca.Items.Item[i].Parent.Text; end;
Gostei + 0
19/04/2005
Kapak
Gostei + 0
Clique aqui para fazer login e interagir na Comunidade :)