Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Newobject(...'pageframe') on a pageframe
Message
 
 
À
16/02/2001 17:30:35
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00476863
Message ID:
00476865
Vues:
22
Hi!

Correct command is SET CLASSLIB.

>I am doing a wizard type form class, and on page2 I want to insert an replaceable pageframe with a couple of pages. I can do this by simply dropping the pageframe class on page2, but if in page2.activate I do this:
>
set library to (thisform.classlibrary) additive
>this.addobject('oFilter','rptapp')
>
>...it tells me that the class is wrong for this container.
>
>OK, I got it, the class name should be RptFiltApp. I was trying to instantiate yet another instance of the form class on a page. Thanks for your patience, ladies and gentlemen. Yes, I know, it's Friday.
>
>BTW, I do have a question. On first line it errored out saying that the vcx file doesn't exist. In the debugger I saw the property held a valid filename. Maybe I shouldn't try this Set ClassLibrary at all, since this classlib is open by default?
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform