Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem with inheritance grid objects in pages with membercl
Message
De
27/01/2006 01:26:04
Vladimir Zhuravlev
Institute of the Physics of Earth,Russia
Moscow Region, Russie
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Titre:
Problem with inheritance grid objects in pages with membercl
Divers
Thread ID:
01090810
Message ID:
01090810
Vues:
60
Lets make vcx with page class and pageframe class
Lets put grid on the page class
Lets go to pageframe class and set memberclass and member classlib to our page class with grid
Now lets make form in design mode, put pageframe class on it and increase pagenumber on >2. Thus way it will be new page base on page class with grid.
Lets now go to last page and set for grid some columnnumbers on >0 and different number we had in grid on page class.
Look inside in grid-all ok with it at this time.
Save form, close it.
Open again, go to last page, see , what would happend with grid
There are no any headers in columns, there are no any text boxes in it.
If we open the form scx like table and look inside, we really see there only records with headers and texts of 2 pages we had in pageframe class and no records for new page.
Sure we did find solution, refused from grid on the page class and put it later manually or by code with selobj function, adding grids on all pages.
We just curious, what is going on with this nice idea, why it does not work.
We are sure, the problem is not in we worked in design mode. We did the same by code and also lost content of grids on new pages.
MVP-2006-2011, PHD in Math and Physics ,
host of www.foxclub.ru,
VFP lector at Interface and Microinform companies
Head science researcher of VNIIA Rosatom.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform