Sign in to follow this  
Followers 0
pdaughe

ListView

3 posts in this topic

If $LVFI_PARTIAL is specified, the left-most characters of each item's text are compared with the search string (i.e. item text BEGINS with search string). The documentation states that if only $LVFI_STRING is specified, the item text must exactly match the search string (i.e. exact match), unless other values are specified.

Question: Is $LVFI_PARTIAL currently the only other "other value" that can be specified? That is, is there a value that can be specified to perform a "item text contains search string"?

Share this post


Link to post
Share on other sites



If $LVFI_PARTIAL is specified, the left-most characters of each item's text are compared with the search string (i.e. item text BEGINS with search string). The documentation states that if only $LVFI_STRING is specified, the item text must exactly match the search string (i.e. exact match), unless other values are specified.

Question: Is $LVFI_PARTIAL currently the only other "other value" that can be specified? That is, is there a value that can be specified to perform a "item text contains search string"?

You'd have to look through all of the control text and look for the substring. I have added a function to Auto3Lib that will allow you to do a "StringInStr" type search for an item (or subitem). The next release will be either later on today or tomorrow if you want to take a look.

Auto3Lib: A library of over 1200 functions for AutoIt

Share this post


Link to post
Share on other sites

You'd have to look through all of the control text and look for the substring. I have added a function to Auto3Lib that will allow you to do a "StringInStr" type search for an item (or subitem). The next release will be either later on today or tomorrow if you want to take a look.

Thanks for the reply! You bet I'll take a look! Thank you so much for your hard work.

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