From: Chris Wearn <chris@vi...> - 2004-02-06 16:24:10
When creating a ListView and Inserting Columns, how do you set the alignment
for the column?
-align does not seem to work as expected.
-index => 1,
-subitem => 1,
-width => $width/2,
-align => "right",
-text => "Description",
From: Chris Wearn <chris@vi...> - 2004-02-07 05:24:38
Answered my own question with a bit more digging in listview.xs
The current examples have options as per the original email:
Now however the current listview.xs only lists the following options:
-index OR -item
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 ;-)
> -----Original Message-----
> From: perl-win32-gui-users-admin@...
> [mailto:perl-win32-gui-users-admin@...]On 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.
> -index => 1,
> -subitem => 1,
> -width => $width/2,
> -align => "right",
> -text => "Description",
> 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.
> Perl-Win32-GUI-Users mailing list