Autor Beitrag
sintec
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 133



BeitragVerfasst: Fr 27.04.07 11:07 
hallo Leutz,

die frage ist vielleicht einfach, aber ich finde die Einstellung in Eigenschaften von der Listbox nicht, die erlaubt markierte Items aus der Listbox per Tastatur 'Entf'-/'Del'-Taste zu entfernen.

Kann mir mal bitte einer helfen?


Moderiert von user profile iconGausi: Topic aus Sonstiges (Delphi) verschoben am Fr 27.04.2007 um 13:20
jaenicke
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 19346
Erhaltene Danke: 1754

W11 x64 (Chrome, Edge)
Delphi 12 Pro, C# (VS 2022), JS/HTML, Java (NB), PHP, Lazarus
BeitragVerfasst: Fr 27.04.07 11:22 
Kein Wunder, das ist nämlich keine Einstellung, sondern das musst du selber programmieren... ;-)

Reagiere auf den Tastendruck (OnKeyDown z.B.): wenn Entfernen gedrückt wurde (Key = VK_DELETE) und ein Eintrag ausgewählt ist (ItemIndex >= 0), dann löscht du den (Delete(ItemIndex)).
sintec Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 133



BeitragVerfasst: Fr 27.04.07 11:28 
klappt wunderbar.

Vielen Dank jaenicke.