Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem with a class containig grids in a pageframe
Message
 
À
20/07/2000 12:52:15
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00394989
Message ID:
00395028
Vues:
11
Jeff,

The problem you are encountering is "Early Composition". That is you placed the grid in the page before it was fully defined as a class itself. The solution is to define each grid (actually do this for every control you have in the pageframe class) as a class and then define then pageframe and place the fully defined grids (controls) in the pages. When you want to chage one of the grids (controls) go to the grid (control) class and make the change (not the pageframe class).

This approach is called Late composition because the composite class (The PageFrame) is not created until all of the component classes (controls) have been fully defined as classes separately.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform