| |
|
|
Rolf Koch | Hi Frank, can it his, that You in the Help a Error drin have? Afer a long Search and Überlegen works it now finally.
[quote:2e9c700b98] SearchText(H,SZ,EZ,SS,s,F,V)
seek a Text inside the Listviews.
H : Long - lever one with CreateListview() erstellten List view Controls SZ: Long - index the Startzeile, ex the The Search begins (nullbasierend). EZ: Long - index the Endzeile, with the The Search end (nullbasierend). SS: Long - index the Startspalte, ex the The Search begins (nullbasierend). s : Zeiger on the Suchstring (address one Strings or Memory-Variable) F : Long - ? Happen? V : Zeiger on a variable or 4 byte great area, the whom index the first found slot, The whom Suchtext contains, receiving (Long-Int) or 0. [/quote:2e9c700b98] y&=SearchText(listview&,0,GetColumns(listview&),0,addr(such$),0,addr(x&))
one mind GetColums()! I Have there GetLines(H) inserted well then functions it fine. because as i understood, is EZ The Endzeile and GetColums relating itself still on The latest slot. understand I the wrong, or is really GETLINES instead of GETCOLUMS einzusetzen. Achso: I wanted to only in the first slot To to last row search.
Rolf |
|
|
| |
|
|
|
Frank Abbing | Hi Rolf.
Oh, the werd I time look over and ggf. Change. thanks !!!
Greeting, Frank |
|
|
| |
|
|
|
MaLenz | but this is still no Error, or ? I my, simply Getlines()-1 mere, and then is it so How normal, but so is it Yes only wrong if You More Split as Reihen have .
alas Yes, and on it respect that You Longints verwendest, by me at least becomes nothing made if I Integers use .
MFG Marco |
|
|
| |
|
|
|
Rolf Koch | Hi, in my case was is really wrong, I really only The first slot down search wished. loudly Help watts but the first row until end search. Yes logical ought to one Longints use! who uses because today yet Integer, if one not only simple numbers to charge wants. to a lever u.s.w heard nowadys one Longint - there haste right :biggrin: Rolf |
|
|
| |
|
|