Good evening Doug
A couple of thoughts.
I agree with Terry. The first suspect is the grid's data source (or lack of). How you are populating the grid? For almost every grid, except perhaps a read-only grid that will only display static data, building a SQL cursor or a view and then issuing a REQUERY() seems to work well.
There is a missing piece of the puzzle. It would seem to me that the Window type would not, by itself, cause the problem. Does it make sense for data to be displayed or not displayed simply because you change a flag that allows or prevents the form from losing focus? There must be something else involved.
Not knowing how the data is coming to the grid, let me speculate that if you are setting a filter condition, and the record pointer is not thereafter moved, you could get a "blank" grid. If this applies, try issuing a LOCATE command immediately after you set the filter to force the record pointer to move to the top of the data set matching the filter condition.
Good Luck
Donald Lowrey
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only