Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to prevent Grid's Refresh
Message
 
 
À
11/04/2002 15:34:09
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00643916
Message ID:
00644036
Vues:
18
This message has been marked as the solution to the initial question of the thread.
The simple solution, which comes to mind, is to set form's property, say, NoGridRefresh and in AfterRowColChange set it to .t.
if grid refresh put
if thisform.NoGridRefresh
   nodefault
endif
thisform.NoGridRefresh = .f.
This is just an idea and not tested.
Of course, it could be a grid's property...


>Hy,
>I have a grid and a couple of related textboxes in the Form.
>In the AfterRowColChange I put thisform.refresh().
>But not only the textboxes get a refresh but also the grid.
>Is there a way to prevent the grid also refreshes?
>I know I can say thisform.textbox1.refresh(),thisform.textbox2.refresh() etc.
>A second solution is to put the textboxes in a container and said thisform.cnt.refrsh().
>But that is not what I want.
>I want to block the refresh from the grid.
>In the refresh methode of the Grid Return .F. doesn't work because the Refresh is already there,It must be done before the Refresh methode.
>Is this possible ?
>
>Thanks John Zylstra Holland
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform