Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Member classes
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Member classes
Divers
Thread ID:
00877769
Message ID:
00877769
Vues:
56
Hello all,
I'm making my first foray into using member classes, and am running into some difficulty. I'm trying to put a custom page class on a pageframe class. Doing all of this visually, btw. Anyway, I created a new pageframe subclass and a new page subclass from my base classes, then set the member class property on the new pageframe to the new page. Here is what is happening. If I drop this on a form, it still shows the 2 VFP pages, then my member classes. So, I went to my BASE class pageframe and removed the 2 VFP pages. Then, in the subclass, I set the page count to 2, and it displayed 2 member class pages. So, I went back to the form and I see just the pageframe, none of the pages. If I run the form, same thing, but if I click where the page tabs are, then it displays. Graphics driver? Okay, so in the subclassed pageframe, I set the page count to 3, and it shows all the member pages on the form. Also shows them if I run the form. If I set it back to 2 (default), they disappear again. What am I doing wrong here, or am I expecting the wrong things? Also any other tips anyone may have on, or cool implementations of, member classes would be cool. Thanks a lot,

jfh
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform