Subject Problem with TIB_LookupCombo in TIB_Grid
Author slsolutions2002
I have a TIB_LookupCombo in a TIB_Grid. All works fine: I can enter
data into the grid and use the TIB_LookupCombo to populate the grid
column to which it is linked. In the forms FormShow Event I open
both querys: The query for the TIB_Grid and the query for the
TIB_LookupCombo. In the forms FormClose Event I close both querys.
Here is the problem: If focus is set to any column in the grid,
except the column linked to the TIB_LookupCombo, and the user clicks
the forms close icon, the form closed without incident. However, if
focus is set to the TIB_Grid column that is linked to the
TIB_LookupCombo and the forms close icon is clicked, I get the error
message "Cannot focus a disabled or invisible window". This error
occurs when the query is closed. Can anyone help ? Thanks.