Board index » delphi » Looking for a ComboBox Component with Texts and Values

Looking for a ComboBox Component with Texts and Values

Hi there,

i am looking for a delphi component similar to TComboBox.
It should have an extra property "Values" to store values along the text-values.

It should behave like a select-box in HTML.

You know?
<option value="3">test</option>
stores 3 along the text "test".

Does anybody have this component? Or knows where i can get it?

Regards
Peter

 

Re:Looking for a ComboBox Component with Texts and Values


In article <b2qrus$63...@nets3.rz.RWTH-Aachen.DE>, "Peter Gabriel"

Quote
<pe...@gabriel-online.net> writes:
>Does anybody have this component? Or knows where i can get it?

TComboBox which comes with Delphi, and store your values in the
TComboBox.Items.

Objects array. Of course you will have to typecast any integer to a TObject.

Alan Lloyd
alangll...@aol.com

Re:Looking for a ComboBox Component with Texts and Values


hi Alan,

thanks for your answer. i must have been blind for years :-)

the objects array can assign any kind of data to the texts...

regards,
peter

Other Threads