[DUG] DB Combo Boxes

Eion McIntosh (Christchurch) e.mcIntosh at ppcs.co.nz
Fri Sep 16 17:05:06 NZST 2005


I believe I have that but have found a number that most of the time the values are correct. Scrolling forward show most but when a blank appears, if I scroll to the next one and then back again, it then displays correctly. Dropping down the combobox also display the correct value but does not display it in the actual box. Also created a hidden label to put in a correct looked up value also the always makes the combobox display the correct entry and displaying the full list in a list box always highlights the correct entry.


Regards
Eion McIntosh
PPCS Ltd


-----Original Message-----
From: delphi-bounces at ns3.123.co.nz
[mailto:delphi-bounces at ns3.123.co.nz]On Behalf Of Rohit Gupta
Sent: Friday, September 16, 2005 4:56 PM
To: NZ Borland Developers Group - Delphi List
Subject: Re: [DUG] DB Combo Boxes


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
>  
>

_______________________________________________
Delphi mailing list
Delphi at ns3.123.co.nz
http://ns3.123.co.nz/mailman/listinfo/delphi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://ns3.123.co.nz/pipermail/delphi/attachments/20050916/78698626/attachment-0001.html


More information about the Delphi mailing list