| |
|
|
- Page 1 - |
|
Jac de Lad | Hm, I know, Roland power now leave. but Perhaps white it Yes nevertheless someone:
stick one Control behind Grid and List (through Create) or is the ne Profaninterne thing? if it one Control is: gives it a speedy function (I take at times through sendmessage), with the I detect can, whether a String vorkommt and if so, where?
Jac |
|
|
| Profan² 2.6 bis XProfan 11.1+XPSE+XPIA+XPRR (und irgendwann XIDE) Core2Duo E8500/T2250, 8192/1024 MB, Radeon HD4850/Radeon XPress 1250, Vista64/XP | 08/25/06 ▲ |
|
|
|
|
| |
|
- Page 1 - |
|
Jac de Lad | The Box is by me empty... |
|
|
| Profan² 2.6 bis XProfan 11.1+XPSE+XPIA+XPRR (und irgendwann XIDE) Core2Duo E8500/T2250, 8192/1024 MB, Radeon HD4850/Radeon XPress 1250, Vista64/XP | 08/26/06 ▲ |
|
|
|
|
| Sorry, there has the Insert time again not worked: CompileMarkSeparationtext in Listview suchen
Dim Lv_findinfo#,20
Long Lv_findinfo#,0=$2
Let Suchtext$=SeSystemProfilePrivilege
Long Lv_findinfo#,4=@Addr(Suchtext$)
Let Gefunden&=@Sendmessage(Lv1_handle&,$100D,-1,Lv_findinfo#)LVM_FINDITEM Message
Dispose Lv_findinfo#
Markieren
Print Gefunden&
If Gefunden&<>-1
Dim Zeile#,Lvitem
Clear Zeile#
@Setfocus(Lv1_handle&)
Zeile#.Imask&=$8
Zeile#.Item&=Gefunden&
Zeile#.State&=$2
Zeile#.Statemask&=$2
@Sendmessage(Lv1_handle&,$102B,Gefunden&,Zeile#)Zeile markieren
Dispose Zeile#
Endif
|
|
|
| |
|
|
|
Jac de Lad | |
|
| Profan² 2.6 bis XProfan 11.1+XPSE+XPIA+XPRR (und irgendwann XIDE) Core2Duo E8500/T2250, 8192/1024 MB, Radeon HD4850/Radeon XPress 1250, Vista64/XP | 08/27/06 ▲ |
|
|
|
|
Michael Wodrich | |
|
| Programmieren, das spannendste Detektivspiel der Welt. | 08/27/06 ▲ |
|
|
|
| |
|
- Page 2 - |
|
|
Jac de Lad | Well, seek the now whom first String, the with the Suchstring starting or whom String the the Suchstring very corresponds to? and How behave it itself with mehrspaltigen Listviews? go any Split search, or again separated with | or only The first??? |
|
|
| Profan² 2.6 bis XProfan 11.1+XPSE+XPIA+XPRR (und irgendwann XIDE) Core2Duo E8500/T2250, 8192/1024 MB, Radeon HD4850/Radeon XPress 1250, Vista64/XP | 08/27/06 ▲ |
|
|
|
|
Uwe ''Pascal'' Niemeier | Hello Jac!
Well, seek the now whom first String, the with the Suchstring starting or whom String the the Suchstring very corresponds to? and How behave it itself with mehrspaltigen Listviews? go any Split search, or again separated with | or only The first???
becomes LVM_FINDITEM for Strings uses, relating it itself always on The first slot the Lvs. whether The sought row the Suchbegriff very corresponds to or only so begins depends of worth in LVFINDINFO.? Happen? ex ( this is the first Long-worth in the Find-structure) LVFI_STRING (=2) seek to accurate Übereinstimmung LVFI_STRING + LVFI_PARTIAL (=2+8 ) seek to Stringanfängen any further Parameter are for GridBoxen eigendlich uninteressant.
Texts in back Split can of my Wissens only find, because You the Lv line by line ausliest and the Strings self vergleichst.
BTW: therefore, that You with Send the Such-Message to determine can, ex where sought becomes, can you in the entrapment one Treffers of there on weitersuchen, circa möglicherweise yet further hits to find.
BTW2: the profane Select String seek loudly Help always to the first entry, the with the Suchwort beginnt; Perhaps is there time one SelectStringExact due?
SeeYou Pascal |
|
|
| |
|
|
|
|
SelectStringExact Hehe this against have I in my lists.pcu integrate. |
|
|
| |
|
|
|
Jörg Sellmeyer | since Profan10 there Yes MoveHandleToList(h&). then MoveListToMem(h&,B#,Del$ and MemPos(B#,Such$,pos%) The position find out. with one little calculate You can then find out How often the Zeilentrennzeichen to the Fundstelle auftaucht and then has one The row. is only The question, whether one then not too simply The Listbox Zeilenweise search can. . |
|
|
| Windows XP SP2 XProfan X4... und hier mal was ganz anderes als Profan ... | 08/28/06 ▲ |
|
|
|
|
Frank Abbing | List view.dlls SearchText() can really no Opportunities More open, is easy applicable and also extreme quick in the process:
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.
Return-Result: Long - index the first found row, The whom Suchtext contains, or -1.
an konfortable Suchfunktion, for a word or Teilwort in a list view to find. SZ is the row, ex the The Search launch, with row EZ end The Search finally. In SS can The slot indicated go, ex the The Search begins. SS is moreover together with F = 2 of weight. s must one Zeiger on a String his, or a Memory-Variable, into the Suchstring before written watts. The Suchstring s must with a Nullbyte completed his (is with all Strings ex Profan 7 the case). V must one 4 byte great memory his, hierein writes SearchText() one LongInt: whom index the first found slot, The whom Suchtext contains. ex Profan 7 can so directly into a Variable written go. If for V in example Addr(spalte&) is used, so standing hereafter in the variables spalte& The concerned slot, in the the Suchtext first thing found watts, or -1, if the Suchtext not found watts. use tappt im dunkeln for V a zero, then becomes this Parameter ignoring. In F can some ? Happen? indicated go. here a list all possible ? Happen? ( kombinierbar through OR link or addition).
0 = big-small-Schreibung disregard (z.B. Frank=frANK) / each slot search / Suchtext everywhere allows. 1 = big-small-Schreibung mind (z.B. Frank<>frANK) 2 = The Suchtext becomes solely only in slot SS sought (Textsuche for only a slot) 4 = The Suchtext must on the initially one Worts stand, so it found becomes. 8 = The Suchtext must the kompletten Itemtext correspond to, and may not only one Teilstück his.
too numbers go inside the Listviews as Text sought / found. the List view manages any Texts / numbers etc. solely as Texts. |
|
|
| |
|
|
|
Jac de Lad | @all: thanks!
@Frank: Oach, menno, I know, that your DLL class is! As I said, I buy tappt im dunkeln too yet, promised, but even yet not, because I strain very little money have.
Jac |
|
|
| Profan² 2.6 bis XProfan 11.1+XPSE+XPIA+XPRR (und irgendwann XIDE) Core2Duo E8500/T2250, 8192/1024 MB, Radeon HD4850/Radeon XPress 1250, Vista64/XP | 08/28/06 ▲ |
|
|
|
|
Frank Abbing | knows I Yes, Jac. Habs only time with aufgeführt, weils about fit and future reader this Threads message know should. |
|
|
| |
|
|
|
Jac de Lad | Yes, is still correctly! |
|
|
| Profan² 2.6 bis XProfan 11.1+XPSE+XPIA+XPRR (und irgendwann XIDE) Core2Duo E8500/T2250, 8192/1024 MB, Radeon HD4850/Radeon XPress 1250, Vista64/XP | 08/28/06 ▲ |
|
|
|