Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Form leaves behind reference
Message
 
 
À
01/07/1998 11:26:09
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00113140
Message ID:
00113557
Vues:
21
Pamela,

>Typically creating a custom grid class for each view so that I can just drop it on any form that needs the view.

duh, that didn't come out quite right...

I typically create a custom grid class by dragging a view onto a form, tweaking it and then use SaveAsClass. Then I finish setting the class properties in the class designer just to give me a reuseable component for any form that will want to display the view.

A simple Requery() of the view and a grd.Refresh() is all it takes to keep the grid in synch with the parent table navigation. There is no need to mess around with or reset any grid properties or RecordSource at all.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform