When using the keyboard for scrolling the Lookup ComboBox rows (and then after pressing Enter), I get the message:
"Cannot focus a disabled or invisible window."
(Refers to the sample application "ADODBLookupInGrid")
To avoid trying to set Focus to an invisible component, I suggest
in the file: "AdvDBLookupComboBox.pas"
for "procedure TAdvDBLookupComboBox.StringGridKeyPress(Sender: TObject; var Key: Char);"
..
instead of the original code:
"SetFocus;"
use this modification:
" if visible then
SetFocus;"
After this adjustment I don't get specified error message anymore
We applied this improvement. It will be included in the next update.
thank you, I'm glad