Autor Beitrag
schitho
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 288

XP Home SP2
D2005 Prof
BeitragVerfasst: Fr 28.05.04 20:12 
Hi,

wie kann ich den markierten Eintrag in einer ComboBox in die Zwischenablage kopieren. ComboBox.CopyToClipboard gibt es ja nicht. :(

Liebe Grüße
Thomas

_________________
(Sorry! Leider ewiger Delphi-Neuling)
StefanH
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1144

Win XP
D5 Standard, D7 Pers, D2005 Pers
BeitragVerfasst: Fr 28.05.04 20:18 
ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
uses ..., ClipBrd;

...

Clipboard.AsText:= ComboBox1.Text;


bzw. ComboBox1.Items[ComboBox1.ItemIndex]

_________________
"Als es noch keine Computer gab, war das Programmieren noch relativ einfach."(Edsger W. Dijkstra)
"Ich bin nicht von Sinnen, sondern ich rede wahre und vernünftige Worte." (Paulus)
schitho Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 288

XP Home SP2
D2005 Prof
BeitragVerfasst: Fr 28.05.04 20:33 
Danke! Geanu das war es :D

Gruß
Thomas

_________________
(Sorry! Leider ewiger Delphi-Neuling)
StefanH
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1144

Win XP
D5 Standard, D7 Pers, D2005 Pers
BeitragVerfasst: Sa 29.05.04 09:17 
schitho hat folgendes geschrieben:
Danke! Geanu das war es :D


Eben deswegen hab ich geanu das geschrieben :P

Gruß
Stefan

_________________
"Als es noch keine Computer gab, war das Programmieren noch relativ einfach."(Edsger W. Dijkstra)
"Ich bin nicht von Sinnen, sondern ich rede wahre und vernünftige Worte." (Paulus)