[PTBR]
Olá, ainda não funcionou, veja só:

[ENG]
Hello, it still did not work, see:

 Code: 
Break on
$system = createObject('kixtart.system')
$form	= $system.Form()
$tree = $form.TreeView ;or, if you use the form as parent: $tree = $form.TreeView

$=$tree.Nodes.Add('ola')
$=$tree.Nodes.Add('ola1')
$=$tree.Nodes.Add('ola2')
$=$tree.Nodes.Add('ola3')

$form.Show
while $form.visible
	$tree.SelectedIndex = 2
	$tree.SelectedNode.index?
	$=Execute($form.DoEvents(1))
loop



[PTBR]
Ele deveria ter selecionado o "ola2", e não foi isso que ele fez, ele não seleciona nada, na verdade.

[ENG]
He should have selected the "hello2", and that's not what he did, he does not select anything, actually.