Página 1 de 1

DBCombobox

Publicado: Vie Jul 15, 2005 5:10 pm
por Mike Draper
I notice in the Samples/Datacontrols examples that use the DBCombobox, you
load the aItems property with the data values from the table. When I do not
do that, there are no values in the drop down list.
What is the table is very long? Do all of the values to be displayed have
to be loaded into an array?
Mike Draper

DBCombobox

Publicado: Vie Jul 15, 2005 6:48 pm
por ignacio
Mike,
The value of the control is linked with the data field, not the Items
itself. You should fill the combo list manually.
The TDbfDataset has a very handy method for that process (SaveToArray).
That's all.
Regards,
"Mike Draper" <draperm@cogeco.ca> escribió en el mensaje
news:42d7d207$[email=1@ozsrvnegro.ozlan.local...]1@ozsrvnegro.ozlan.local...[/email]
>I notice in the Samples/Datacontrols examples that use the DBCombobox, you
>load the aItems property with the data values from the table. When I do
>not do that, there are no values in the drop down list.
>
> What is the table is very long? Do all of the values to be displayed have
> to be loaded into an array?
>
> Mike Draper
>
>