| |
|
|
Georg Bernhardt | could at best sake not find, How I The Indizes (writes to the so?) selected Entries in the Listbox read can. can someone help?
thanks
Georg |
|
|
| |
|
|
|
| Dou you mean the: GetAllSelected ?
determined, whether and welchem List view a or several Lines markiert get (Multiple choice). [...]
salvo, iF. |
|
|
| |
|
|
|
Georg Bernhardt | Yes thanks have all sorts of things with the function attempts, but not The suitable marked Indizes detect can. lying Perhaps too on it, that I since three years not any more with Profan worked have and it has itself Yes so plenty changed
Georg |
|
|
| |
|
|
|
| Beautiful that I you help could.
salvo. |
|
|
| |
|
|
|
Georg Bernhardt | does me sorrow, but so correctly. is me not helped. I get of course The Items with the function, but I need The Zeilennummern the marked Entries. about 1 4 5 7 and there find I no Possibility, The To get. well then steh I there and question me How now? what i will: In one List view through Click on a Button Items in selektierten Lines definiert Change. Georg |
|
|
| |
|
|
|
Ragnar Rehbein | |
|
| |
|
|
|
Georg Bernhardt | have with subesquent code access I wished, but the can it still not his, of hinten by the bust
While GetSelectedLine(listview&) > -1 line& = GetSelectedLine(listview&)
SelectLine(listview&,line&,2)
wahltextmaus$ = GetItemText(listview&,bereichtext#,3,line&) textitem$=String$(bereichtext#,0) Text4$=X SetItemText(listview&,addr(Text4$),3,line&)
EndWhile
Georg |
|
|
| |
|
|
|
Jörg Sellmeyer | Hello Georg, the might itself slight for your tack paraphrase let: CompileMarkSeparationDef @GetSelectedCount(1) @SendMessage (@&(1),4146,0,0)
@GetSelectedCount(listenhandle&) Ergebnis: Anzahl markierter Zeilen
Def @DeleteColumn(2) @sendmessage (@&(1),$101C,@%(2),0)
@DeleteItem (listenhandle&,zeilenindex%)
Löscht eine Zeile (Item) Ergebnis True (1) oder False (0)
Def @GetItemState(3) @sendmessage (@&(1),4140,@%(2),@%(3))
@GetItemState(listenhandle&,itemIndex%,status%)
Ermittelt ob Item Nummer x(itemIndex%) den Status y(status%) hat
status% kann folgende Werte haben:
LVIS_FOCUSED = 1, Das Item hat den Focus (kleines gepunktetes Rechteck um das Item)
LVIS_SELECTED = 2, Das Item ist ausgewählt (in der Regel grauer Balken)
LVIS_CUT = 4, Das Item ist für eine Asuschneiden / Einfügen OPertation markiert
LVIS_DROPHILITED = 8, Item für DragnDrop Operation markiert (in der Regel blauer Balken)
Proc DeleteSelectedLines
Parameters LV&
If GetSelectedCount(LV&) > 0
WhileLoop GetLines(LV&) - 1,0,-1
If GetItemState(LV&,&Loop,2) = 2
DeleteItem(LV&,&Loop)
EndIf
Wend
EndIf
ENDPROC
The Definitionen are list view.inc include. Greeting Jörg |
|
|
| Windows XP SP2 XProfan X4... und hier mal was ganz anderes als Profan ... | 06/29/05 ▲ |
|
|
|
|
Georg Bernhardt | Hello Jörg,
functions lovely
thanks
Georg |
|
|
| |
|
|