Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Alignment in listviews when assigning an icon to header
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Title:
Alignment in listviews when assigning an icon to header
Miscellaneous
Thread ID:
00462265
Message ID:
00462265
Views:
53
Hi all,

I've got a problem with aligning columns in a listview-control. I want to reflect the sortorder of the listview-items with an arrow-image in the header (like Windows Explorer).

When setting the appropriate properties (in the ColumnClick method of the columnheader-object) as described in the listview example from MSDN, this all works fine, but:

whenever the icon-property is set (no matter what value), the listview-items are always aligned to the left side (even if the alignment-property is set to 1 or 2). This happens also when the icon property is set to 0.

The alignment-property only works correct when creating the headers with the add-method, WITHOUT assigning an icon-index.

Does anyone have a solution/work-around for this problem?

T.I.A.
Reply
Map
View

Click here to load this message in the networking platform