Click to See Complete Forum and Search --> : sorting a list control at run time


ohadbp
July 16th, 2001, 06:35 AM
hi,

how can i trick the sorted property of a list control?
i want to change the value at run time but it is a read only property

ohad.

Cimperiali
July 16th, 2001, 07:12 AM
If this is not too expensive, there is a simple trick: have two listboxes with same content but designed with different sort property. At run time, make visible the one you need...

Special thanks to Lothar "the Great" Haensler, Tom Archer, Chris Eastwood, Bruno Paris and all the other wonderful people who made and make Codeguru a great place. Come back soon, you Gurus.

ohadbp
July 16th, 2001, 07:19 AM
nice trick....

thanks
ohad.