Subject Disappearing Grids in IBO4
Author Lester Caine
Jason

I thought I should post this here, as a pointer to others.

I created a test setup for the problem and off cause it
would not go wrong.

So I took it a bit further and found my problem.

The grids in question are set up on TTabSheet pages, and the
relevent tables are opened and closed with the TabSheet Show
and Hide. The problem was that the show for the first page
happens before the form is being displayed. While it was not
a problem with IBO3.6, IBO4 seems to get upset.

All I had to do was use my 'started' flag to prevent the
early open, and then open properly in FormActivate.

I suspect that the problem is related to the setting of the
parameters for query, as these are not set when the first
Show was activated, working from the design mode settings.
So wether IBO4 needs to have them set, or just needs to wait
until the grid exists before opening the query I am not
sure, I can't get the simple test to go wrong even though I
know what fixes it.

--
Lester Caine
-----------------------------
L.S.Caine Electronic Services