Sign in to follow this  
Followers 0
JohnBailey

_GUICtrlListViewSort by Ascending

3 posts in this topic

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

Share this post


Link to post
Share on other sites



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?

_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.

 

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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
Sign in to follow this  
Followers 0