Autor Beitrag
theTJ
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 43

WIN XP: SP1
D7 enterprise
BeitragVerfasst: Mi 11.05.05 16:11 
[meta]Cobobox[/meta]
hallo @all

kann mir zufällig jemand sagen wie ich den Ausgewählten Inhalt einer TComboBoxEx auslese???

thx im vorraus
theTJ
theTJ Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 43

WIN XP: SP1
D7 enterprise
BeitragVerfasst: Mi 11.05.05 21:36 
Ich hab es selbst gefunden...

_________________
theTJ
"Die Antwort auf die Frage nach dem Leben, dem Universum und dem ganzen Rest ist 42, aber was ist die Frage genau?" aus "Per Anhalter durch die Galaxis" von Douglas Adams
Luckie
Ehemaliges Mitglied
Erhaltene Danke: 1



BeitragVerfasst: Do 12.05.05 02:12 
Wäre schön, wenn du es uns auch verräts, wenn in Zukunft mal jemand diese Frage haben sollte.
fantotal
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 24

Win XP
Delphi 2005
BeitragVerfasst: Do 12.05.05 17:19 
Genau, weil genau diese Frage beschäftigt mich gerade, also wäre es schön, wenn du oder jemand anderes mir das mal eben beantworten könntest, danke :D

_________________
So long,
Sebastian
der_zaehe
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 317

WinXP SP2
D6 Pers, D2005 Prof, VS2005
BeitragVerfasst: Do 12.05.05 17:56 
das geht über TComboBox.Items[TComboBox.ItemIndex]

_________________
[inspirationslos]
fantotal
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 24

Win XP
Delphi 2005
BeitragVerfasst: Do 12.05.05 19:22 
user profile iconder_zaehe hat folgendes geschrieben:
das geht über TComboBox.Items[TComboBox.ItemIndex]


Vielen Dank :D

_________________
So long,
Sebastian
theTJ Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 43

WIN XP: SP1
D7 enterprise
BeitragVerfasst: Fr 13.05.05 21:31 
das was ich suchte geht über
ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
var ZKs:String;
[...]
procedure TForm1.ZKboxChange(Sender: TObject);
begin
  ZKs := ZKbox.SelText
end;

wobei ZKbox die TComboBoxEx

Ich hiel das nicht für nötig, da mir auch niemand half :twisted: :twisted:

_________________
theTJ
"Die Antwort auf die Frage nach dem Leben, dem Universum und dem ganzen Rest ist 42, aber was ist die Frage genau?" aus "Per Anhalter durch die Galaxis" von Douglas Adams
pupu
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 104

WinXP
Borland Delphi 7, Turbo Pascal 7
BeitragVerfasst: Fr 06.10.06 17:32 
hm wenn ich das das erste mal auswähle dann passiert nischt (bzw nich das was passieren sollte)

ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
procedure TForm1.ComboBox1Change(Sender: TObject);
begin
  if combobox1.seltext='Caesarcode' then
    begin
      edit1.Visible:=true;
      label1.Visible:=true;
    end;
end;


Liegt das irgendwie daran dass seltext nich sofort "greift"???

Bei mir steht vorher in der Combobox "Bitte Auswählen" dann soll man auswählen

_________________
Chuck Norris bekommt bei Praktiker auch auf Tiernahrung 20% oO