Jump to content

Recommended Posts

Posted

Question: How do I use _GUICtrlListViewSort and sort by ascending values?

Research: I looked through the manual and I'm confused. I tried several different things with _GUICtrlListViewSort and "no dice." I searched the forums, but I can't seem to find info.

Situation: I have a listview with four columns. I want to ascend sort by the second column.

Thank you

A decision is a powerful thing
Posted

  JohnBailey said:

Question: How do I use _GUICtrlListViewSort and sort by ascending values?

Research: I looked through the manual and I'm confused. I tried several different things with _GUICtrlListViewSort and "no dice." I searched the forums, but I can't seem to find info.

Situation: I have a listview with four columns. I want to ascend sort by the second column.

Thank you

Have you lookd in the help?

  Quote

_GUICtrlListViewSort ( $h_listview, ByRef $v_descending, $i_sortcol )

i.e.

$sort = 0

_GUICtrlListViewSort ( $h_listview, $sort , 1)

SciTE for AutoItDirections for Submitting Standard UDFs

 

Don't argue with an idiot; people watching may not be able to tell the difference.

 

Posted

GRRR ::mad at self::

Yeah I did so many different versions of that, but I was sorting the wrong column! Thank you. "I am moron"

A decision is a powerful thing

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...