[DUG] DB Combo Boxes

Rohit Gupta r.gupta at xtra.co.nz
Fri Sep 16 16:56:06 NZST 2005


I dont use the plain vanilla components, having fixed most problems in 
descendant controls a long time ago.  However, from fading memory I 
believe that in the changeevent of the first field you populate the 
second cbx and then set the text to what the value should be.  This 
aligns the guts correctly.

Eion McIntosh (Christchurch) wrote:

> Hi
>
> I'm getting highly frustrated at an app where we are trying to use DB 
> combo boxes and the display name is not always appearing even though 
> the value is set correctly.
>
> We have a master table to two fields on it and one combo list links 
> with 1 field and the other links with another field, but display only 
> a subset based on the what has been set from the first combo list.
>
> Scrolling through the main table updates the two combo boxes with the 
> correct name buy sometimes it doesn't display the name at all but if 
> you click on the dropdown arrow the correct value is highlighted only 
> is does not display.
>
> Any ideas please, using D6.
>
> Regards
> Eion McIntosh
> PPCS Ltd
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Delphi mailing list
>Delphi at ns3.123.co.nz
>http://ns3.123.co.nz/mailman/listinfo/delphi
>  
>



More information about the Delphi mailing list