Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid content disappears--not the usual problem
Message
De
13/04/2009 08:00:59
 
 
À
11/04/2009 16:50:05
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01394193
Message ID:
01394526
Vues:
66
>>Just a hunch (or else I'd have fewer problems with my own now-I'm-empty-now-I'm-not grids) - what would happen if you'd make sure that the >focus is not on the grid? VFE style if need be, immediately after locking the screen, add a new textbox to the parent, move it to -2000, -2000, >set focus to it, do your grid thing, remove the textbox, set focus to the grid (with maybe a GO to appropriate record - same one as before, if >possible), then unlock screen and... did it work?
>
>Tamar, in a contrary approach, don't do grid.refresh() but grid.setfocus(), this helped me in some situations, when refresh() seemed not to do anything.
>
>I'd try setting grid.allowcellselection = .f. during the data refresh, then set it back to .t. and setfocus() to the grid.
>

Thanks. I'll try these things. And, in fact, the users don't need to be able to select from this grid, so I can just set AllowCellSelection to .F. in the first place.

Tamar
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform