Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DBLookupComboBox bugs ?

Status
Not open for further replies.

Oppenhiemer

Programmer
Jun 28, 2001
315
GB
Hi all -

2 questions in 1 here ;). Firstly - why does pressing ESC key clear any data bound to DBLookupComboBox ? Here is an example..

1. Using a form which contains a DBLookupComboBox. Navigate to an existing record that contains data ( or create one)

2. Select the control - either by using the mouse - or tab to activate the control.

3.Press the ESCAPE key.

4. The value that was currently in the field will be wiped!

Im pretty sure this phenomenon was evident in earlier versions of Delphi (not just 2005 which I am currently using)

Is this (as Microsoft would say..) A "known Issue" and are there any remedies for it ? Intercepting the "ESCAPE" key press in order to remedie the problem is not very helpful (as it is sometimes useful for users to be able to press the ESCAPE key in order to undo unwanted changes.)

The second question..

Does anyone know why all (apparently) Db drop-down controls show more than one selction highlighted - when only one item is selected ?

Any help would be much appreciated..

Thanks..

Opp.


 
Check the NullKeyValue for the combo. It may be set to Esc.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top