Subject Problem with TIB_Grid/TIB_LookupCombo
Author slsolutions2002

I have the following:

A form with a TIB_Grid and a TIB_LookupCombo in the grid. In the
forms OnShow I open 2 queries, one for the TIB_Grid, the other for
the TIB_LookupCombo. In the forms OnClose I close both queries.

All works fine unless I try to close the form with the
TIB_LookupCombo in a dropped down state. I then get a "Cannot focus
a disabled or invisible window". I actually get it twice. If I
closeup the TIB_LookupCombo before closing the form all works fine.

The error happens when I attempt to close the queries in the forms
OnClose. Like I said, I get the error twice, once for each query I
close. I have tried calling the TIB_LookipCombos CloseUp routine
before closing the queries but the lookup does not close and I still
get the error.