Bonsoir j'ai eu petit probleme en créant une treeview , je n'arrive pas a retourner avec $did le texte qui se situe dans la treeview voila mon code :
list 1,1 10 85 90
on *:dialog:Amis:init:00:{
dll dll/mdx SetMircVersion $version
dll dll/mdx MarkDialog $dname
dll dll/mdx SetDialog amis style tool
dll dll/mdx SetControlMDX 1 treeview haslines hasbuttons linesatroot showsel > dll/views.mdx
did -i $dname 1 1 cb root
did -a $dname 1 +e 1 1 Amis
did -i $dname 1 1 cb last
did -a amislist 1 +e 2 1 a
did -a amislist 1 +e 2 1 b
}
Voila ou se situe mon erreur :
on *:dialog:Amis:sclick:1:{ echo -s $did(1,$did(1).sel) }
http://www.scriptsdb.org/tutar.php?id=135#