|Subject||Re: [IBO] Error message when pressing ESC while TIB_LookupCombo is in focus in grid|
> When I press the ESC key (with the intention of aborting the edit)Just so you know...
> while a TIB_LookupCombo component(in a TIB_Grid) has the input
> focus, I get an error message indicatinf that the key field in this
> case cannot be found. All I want to do is simulate pressing the
> cancel button on the UpdatBar.
Esc key get special processing with any control dropped onto IB_Grid.
The first instance of Esc is passed to the control - to allow it to
do its normal reset processing. The second instance (with nothing
else in between) is taken by IB_Grid to perform a cancel of the edit.
As for the error you are getting...
Whenever I have a problem with a control on IB_Grid the first thing
I do is move it off the grid and make sure it works. (Isolate the
problem so you know what to fix.)
I suggest you try this with your lookup (and remember to reset the
Visible property back to true). If the problem continues then my
guess would be something incomplete with your lookup configuration.
If it works off the grid, but not on the grid then get back to us.