Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to Right Align Column in ListView 6.0 / SP4?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00426701
Message ID:
00462736
Vues:
23
>>>oColumnHeader = oListView.ColumnHeaders.Add(Index, Key, Text, Width, Alignment)
i never goot it to work this way, but it did work when
oListView.COLUMNHEADERS("MyColumn").ALIGNMENT=1

>Question:
>Has anyone else experience with this problem and, more important, a solution/work-around.

The icons - and maybe your already aware of this - need to be contained by the imagelist control, and then:
.listimages.add(1,"CHECKMRK",LoadPicture("CHECKMRK.ICO"))
Then use the index (1) or key in the COLUMNHEADERS definition. If you use the arrows to designate the sort, they would both need to be in the image list and assigned in the Sort method. If this doesn't get you going, message back and I locate some script and and pass it along.
There is a source example of ListView instanciation in files, COM/DCOM OLE Automation : ADO Query Analyzer.
Terry
Imagination is more important than knowledge
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform