Thanks, but I'd when I double click on an Item of the tree, it displays me
the text of that Item.

Frederic Descamps
Origin ICA - QAD Service Line
B-1930 Zaventem
*: +32 2 712 3863
GSM: +32 95 69.86.68
*:  [EMAIL PROTECTED]


-----Original Message-----
From: Aldo Calpini [mailto:[EMAIL PROTECTED]]
Sent: mardi 20 juillet 1999 10:09
To: [EMAIL PROTECTED]
Subject: Re: [perl-win32-gui] Using TreeView...


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