Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
I pitty the grid ...
Message
De
25/03/2003 22:03:13
Donald Lowrey
Data Technology Corporation
Las Vegas, Nevada, États-Unis
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00769894
Message ID:
00770067
Vues:
18
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform