Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to sort a ListView Control ????
Message
From
28/06/2001 09:05:07
Jonathan Cochran
Alion Science and Technology
Maryland, United States
 
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00523013
Message ID:
00524629
Views:
10
Andrew,

How do you make a hidden column? Is there any way other than to make the width=0? I've tried that before, but the user can resize columns to make it visible.

I have noticed in playing around with the listview that if you sort on column 1, then sort on column 2, it gives the effect of sorting on column 2 + column 1. Maybe another solution would be to sort on column 4, then column 1, then column 2.

Thanks,
Jonathan

>Hi Esteban,
>
>One trick is to make a hidden column with a composite of the contents of the columns you want to sort. Sort on the hideen column to get the effect you're after.
>
>Cheers,
>
>Andrew
>
>>Hi I'm using a Listview control and I want make a multi-column sort (i.e.: column2+column1+column4) without clear the list and fill it again with the items ordered.
>>I read the help and I see that only 1 column may be sorted.
>>
>>Exist any trick to sort the list by more than one column???
>>
>>Thanks in advance for your help.
>>Esteban
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform