Autor Beitrag
Newcomer91
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 22



BeitragVerfasst: Do 11.03.10 11:20 
Eine Sache hätte ich noch..xD Wie im Titel steht möchte ich ein selektiertes Item aus der Listbox an die erste Stelle verschieben. Das ganze soll via Buttonclick funktionieren.

Ich weiß nur nicht wie ich da ansetzen soll, da es das erste mal ist das ich eine funktion wie diese verwenden möchte.

Wer mir helfen kann wäre ich sehr dankbar.

Liebe Grüße

Newcomer91
Narses
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Administrator
Beiträge: 10185
Erhaltene Danke: 1261

W11x64
TP3 .. D7pro .. D10.2CE
BeitragVerfasst: Do 11.03.10 11:22 
Moin!
ausblenden Delphi-Quelltext
1:
2:
  if (ListBox1.ItemIndex > 0) then
   ListBox1.Items.Move(ListBox1.ItemIndex,0);
cu
Narses

PS: Ist deine Delphi-Hilfe kaputt? :roll:

_________________
There are 10 types of people - those who understand binary and those who don´t.
Newcomer91 Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 22



BeitragVerfasst: Do 11.03.10 11:25 
danke für die schnelle hilfe..;)

Nein meine Delphi Hilfe ist nicht kapputt ich werde nur nicht wirklich schlau drauß...:-?

Liebe grüße

New