[DUG] DBCombo/DBLookup Combo
John Bird
johnkbird at paradise.net.nz
Fri Feb 20 11:14:01 NZDT 2009
Of all the VCL controls I have dealt with in Delphi (Mainly D5 Enterprise),
none has given me so many headaches or puzzles as DBCombo and DBLookupCombo
in which there seem to be so many idiosynchrasies
Some of the main ones:
-what they display when not initialised (eg null in the dataset value)
-which keys they respond to (sometimes pressing enter on the dropped down
list will not select it - you have to click on it), sometimes entering a
string will bring the match in the edit box (no list dropped down), but it
is not selected or stored
-subtle differences between how DBCombo and DBLookupCombo behave.
-sometimes just not displaying any options in the drop down lists even when
the dataset is opened and data is present.
Sometimes I have reverted to using a TCombo (non DB) and hard coding loading
the dataset values into the items list just to get it to work - ie its
quicker to do it the long hard way.
Have others had similar experiences? Is it better in later versions of
Delphi? Any tricks or tips or useful web references?
John
More information about the Delphi
mailing list