Board index » cppbuilder » Can show 2 items in TComboBox ?

Can show 2 items in TComboBox ?


2006-07-25 09:22:42 PM
cppbuilder86
Hello,
Can show 2 Items in TComboBox ?
Regards,
M.T
 
 

Re:Can show 2 items in TComboBox ?

"Sasan" < XXXX@XXXXX.COM >wrote:
Quote
Can show 2 Items in TComboBox ?
What do you mean? Usually the user selects one item (i.e. one
string) from the list and that one is shown then in the edit
portion of the combobox. So what is your question about? The
user selects two items (e.g. the 2nd and 5th string) from the
list and both are displayed in the edit field? Certainly not,
right? So what are you actually asking?
 

Re:Can show 2 items in TComboBox ?

Dear Thorsten Kettner,
i want know can show 2 columns like TDBLookupComBox in TComboBox ?
Regards,
M.T
"Thorsten Kettner" < XXXX@XXXXX.COM >wrote in message
Quote

"Sasan" < XXXX@XXXXX.COM >wrote:
>Can show 2 Items in TComboBox ?

What do you mean? Usually the user selects one item (i.e. one
string) from the list and that one is shown then in the edit
portion of the combobox. So what is your question about? The
user selects two items (e.g. the 2nd and 5th string) from the
list and both are displayed in the edit field? Certainly not,
right? So what are you actually asking?
 

{smallsort}

Re:Can show 2 items in TComboBox ?

"Sasan" < XXXX@XXXXX.COM >wrote in message
Quote
i want know can show 2 columns like TDBLookupComBox in TComboBox ?
Not directly, no. TDBLookupComBox is not a standard ComboBox. It is a
custom control, so it can do anything it wants. The only way to display
multiple columns in a standard ComboBox is to owner-draw the individual
items manually. Then you can make the items appear anyway you wish,
although the columns will not be real columns in memory.
Gambit