Answered my own question with a bit more digging in listview.xs

The current examples have options as per the original email:

-index
-subitem etc

Now however the current listview.xs only lists the following options:

-text
-align
-width
-index OR -item
-subitem
-image

This differs again to the docs on Jeb, as there is no '-indent' or
'-selected' option anymore.

What does '-subitem' do?

Is there anyway of doing a column sort (as in Laurents Grid - and in the
right-hand window of windows explorer) based on an alphabetical or date
aware sort. I'm guessing LVW_SORTASCENDING and LVW_SORTDECENDING are for
ordering the 'index' of items.

questions, too many questions ;-)

Chris

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of
> Chris Wearn
> Sent: Saturday, 7 February 2004 12:29 AM
> To: Win32-GUI List
> Subject: [perl-win32-gui-users] Listview Column Alignment
>
>
> Hi All,
>
> When creating a ListView and Inserting Columns, how do you set
> the alignment
> for the column?
>
> -align does not seem to work as expected.
>
> $Window->ListView->InsertColumn(
>     -index   => 1,
>     -subitem => 1,
>     -width   => $width/2,
>     -align   => "right",
>     -text    => "Description",
> );
>
> regards
>
> Chris
>
>
>
> -------------------------------------------------------
> The SF.Net email is sponsored by EclipseCon 2004
> Premiere Conference on Open Tools Development and Integration
> See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
> http://www.eclipsecon.org/osdn
> _______________________________________________
> Perl-Win32-GUI-Users mailing list
> Perl-Win32-GUI-Users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users
>


Reply via email to