Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Alignment in listviews when assigning an icon to header
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Titre:
Alignment in listviews when assigning an icon to header
Divers
Thread ID:
00462265
Message ID:
00462265
Vues:
52
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.
Répondre
Fil
Voir

Click here to load this message in the networking platform