The Sort property is read only, and returns an enum indicating how the list view is sorted: ascending, descending, or not at all.

Aaron

On 1/8/2010 8:33 PM, Chip Orange wrote:
thanks Jeff.
could it be that the sort property is read/write, even though the docs
say read-only? have you tried writing to it J.J.?
Chip

------------------------------------------------------------------------
*From:* Jeff Bishop [mailto:[email protected]]
*Sent:* Friday, January 08, 2010 8:26 PM
*To:* [email protected]
*Subject:* Re: Sorting Listviews

This is the order in which the columns appear in the listview.

    ----- Original Message -----
    *From:* Chip Orange <mailto:[email protected]>
    *To:* [email protected] <mailto:[email protected]>
    *Sent:* Friday, January 08, 2010 6:21 PM
    *Subject:* RE: Sorting Listviews

    J.J.,
    In case this is any help, I see an "order" property of the
    listviewColumn object, which is both read and write, and it says it
    controls the display order of the column, but the docs don't explain
    it at all (I mean how it works; it just says it holds a long).
    Chip

    ------------------------------------------------------------------------
    *From:* J.J. Meddaugh [mailto:[email protected]]
    *Sent:* Friday, January 08, 2010 7:59 PM
    *To:* [email protected]
    *Subject:* Sorting Listviews

    I see a property which
    will show me the current sort for a listview, but there seems to be
    no way to set our own sort for one in a dialog.
    Am I missing something?
    I could do it manually, but this seems like a longwinded approach.
    J.J. Meddaugh - ATGuys.com
    A premier Licensed Code Factory and KNFB Reader distributor

--
To insure that you receive proper support, please include all past
correspondence (where applicable), and any relevant information
pertinent to your situation when submitting a problem report to the GW
Micro Technical Support Team.

Aaron Smith
GW Micro
Phone: 260/489-3671
Fax: 260/489-2608
WWW: http://www.gwmicro.com
FTP: ftp://ftp.gwmicro.com
Technical Support & Web Development

Reply via email to