Descamps, Frederic wrote:
>Hello,
>
>Can somebody tell me how can I'll know wich item I click in a treeview
>object ?

the docs can ;-)

    NodeClick(NODE)
    Sent when the user clicks on the specified NODE of the TreeView. 

example:

    sub Tree_NodeClick {
        my($node) = shift;
        my %nodeinfo = $Window->Tree->ItemInfo($node);
        print "Clicked on $nodeinfo{-text}\n";
    }

__END__
# Aldo Calpini
print sort {$_{$a} cmp $_{$b}} values %{{split undef, 
"xritajbugne fahokem csuctawer jhdtlrnpqloevkshpr"}};





Reply via email to