Autor Beitrag
abi
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 121

Windows 2000
Delphi 5
BeitragVerfasst: Do 17.06.04 09:08 
Hallo
ich hab ein ganz komisches Problem.

Ich will z.B. das mein erstes Element von meiner ComboBox gleich gezeigt wird.

Jetzt hab ich folgendes gefunden.

[zitat]
2. DBLookupComboBox.Itemindex:=0 könnte dafür sorgen, dass der erste Eintrag gezeigt wird.
[/zitat]

Aber bei mir kennt er Itemindex nicht.

Kann mir jemand sagen warum dies so ist.
mfg
abi

_________________
Die lansamste Schnecke kommt auch irgendwann an.
LCS
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 1305
Erhaltene Danke: 1

WIN 7, WIN 8
Delphi XE5, Delphi XE, Delphi 2007
BeitragVerfasst: Do 17.06.04 17:05 
Hi

aber dafür kenn er KeyValue. ListSource auf den gewünschten Datensatz positionieren und KeyValue mit dem Inhalt des Schlüsselfeldes füllen.

Gruss Lothar

_________________
Der BH ist für die Brust, der Plan ist für'n Ar...
DeePee
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 19



BeitragVerfasst: Fr 15.04.05 20:49 
Ich hab das gleiche Problem!

Könnte mir kurz jemand anhand eines kurzem Beispiels erklären, wie ich das mache?+

Was meinst du mit "ListSource auf den gewünschten Datensatz positionieren"
Mein DBLookupComboBox ist doch schon standardmäßig mit ner Listsrc verknüpft, damit ich überhaupt was ins Dropdown rein bekomme..
Wie selektiere ich dort nun ein Feld?