Jonathan Southwick wrote:
> I have a ListView with 6 columns displayed in "detail" view.
> What I am wanting to do is click on an item in the ListView
> and be able to read the data in that particular row.
> Does anyone know how to do this?

sorry Jonathan, what do you mean by "read"?

if you mean read them in perl variables, here's how you go:

   %item = $ListView->ItemInfo( $index );
   $col1 = $item{-text};
   %item = $ListView->ItemInfo( $index, 1 );
   $col2 = $item{-text};
   %item = $ListView->ItemInfo( $index, 2 );
   $col3 = $item{-text};
   # and so on...


cheers,
Aldo

__END__
$_=q,just perl,,s, , another ,,s,$, hacker,,print;



Reply via email to