Hi,
ich habe eine TDBLookUpComboBox die mit Daten gefüllt ist. Ich möchte gerne an eine bestimmte Stelle innerhalb der Combobox springen. Z.B.: wenn ich "a" drücke soll der erste Eintrag mit "a" (zb. Auto) und wenn ich nochmal mal "a" drücke soll der 2te Eintrag erscheinen.
Jedoch springt bei mir die combobox nicht an die entsprechenden Einträge. So liegt das nun an der Komponente oder übersehe ich einfach was??
Delphi-Quelltext
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19:
| object DBLookupComboBox_produktgruppe: TDBLookupComboBox Left = 12 Top = 176 Width = 433 Height = 23 DataField = 'xyz' DataSource = xyz DropDownRows = 15 Font.Charset = ANSI_CHARSET Font.Color = clWindowText Font.Height = -12 Font.Name = 'Arial' Font.Style = [fsBold] KeyField = 'ID' ListField = 'xyz' ListSource = xyz ParentFont = False TabOrder = 7 end |