Diplay Items on TrDBComboBox

8 views
Skip to first unread message

Alejandro AG

unread,
Dec 19, 2025, 9:34:29 AM (4 days ago) Dec 19
to Rosi Delphi Components
I need to use these component (with cdDropDownList style, fixed values)
In DB values are A, B ,C (stored in Items)
Visual values are "New, Used, Old" (stored in DisplayItems.ListItems)
Drop-down box display the display Items, nice
But not in the Edit (there only appear the Item stored in DB)

Any way to change the behaviour and display the "display item" not the real Value?
 

Tomas Rosinsky

unread,
Dec 19, 2025, 9:48:57 AM (4 days ago) Dec 19
to Rosi Delphi Components
Hi, 
you can use my rDBLookupComboBox  which is exactly prepared for your situation.
List of values can be loaded  from DB table or by SQL with UNION command.

I hope it helps
Tomas

Dne pátek 19. prosince 2025 v 15:34:29 UTC+1 uživatel aag.co...@gmail.com napsal:

Alejandro AG

unread,
Dec 19, 2025, 10:18:25 AM (4 days ago) Dec 19
to Rosi Delphi Components
This is the way i solve at the moment
I just ask if any way, because TrDBComboBox is SOOOO CLOSE to the behaviour i need, just not display on the editbox.
Ok, tks anyway 
Reply all
Reply to author
Forward
0 new messages