LVSEARCH String CS|CI First|Next
Search the LV for "String"
CS|CI means = Case Sensitive (CS) or Case Insensitive (CI)
First|next are for control :
LVSearch "MyString" cs first
- will return with the first line containing "MyString".
You can get the line number, text etc of the line found,
via the @{" Listview internal variables " LINK "iv_listview"}
You can get the position of the string within the line
via the @{" Search internal variables " LINK "iv_search"}
You can thereafter call :
LVSearch "MyString" CS next
- again and again, to get the rest of the lines or strings.
If there are 2 or more occurences of the same string in the
same line, LVSearch will stop as many times as there are
strings for. (This has been added in version 3.6+)
When there are no more more lines containing the given text,
then the $$lv.line internal variable will contain "" (nothing)
and that's how you know you're finished.
Note : "" is *not* the same as 0 in Gui4Cli.
"" means Nothing - 0 means the top line.