Einzelnen Beitrag anzeigen

Plat

Registriert seit: 17. Dez 2003
40 Beiträge
 
#5

Re: Doppelklick auf ListBox Item, danach neues Fenster

  Alt 10. Jan 2004, 23:20
Zitat von FriFra:
Delphi-Quellcode:
procedure TForm1.ListBox1DblClick(Sender: TObject);
begin
  if ListBox1.ItemIndex > -1 then
    Form2.Caption := 'Infos über ' + ListBox1.Items[ListBox1.ItemIndex];

    { Hier kommt der übrige Code... }
    
    Form2.Show;
  end;
end;
Super!

Danke euch !

Hoffe, dass ich es nun endlich hinbekomme
  Mit Zitat antworten Zitat