Einzelnen Beitrag anzeigen

Benutzerbild von MrSpock
MrSpock
(Co-Admin)

Registriert seit: 7. Jun 2002
Ort: Owingen
5.865 Beiträge
 
Delphi 2010 Professional
 
#2
  Alt 19. Feb 2003, 06:45
Hallo NeoDeluxe,

das geht über die Eigenschaft Items:

Delphi-Quellcode:
if myComboBox.ItemIndex > -1 then
  myLabel.Caption := myComboBox.Items.Strings[myComboBox.ItemIndex];
oder mit der Text Eigenschaft:

myLabel.Caption := myComboBox.Text;
Albert
Live long and prosper


MrSpock
  Mit Zitat antworten Zitat