Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Network:
Windows 2003 Server
>From VFP help:
>
>On an .scx form, if you add instantiation code to the member class's Init event, Visual FoxPro disregards that code and only the Init code for the member class definition runs. However, with visual class library (.vcx) forms, Visual FoxPro creates a true subclass. You can safely add instantiation code for other events such as Click.
>
>>
>>Yes. This is a fairly old form. The class I am using for the pageframe has PageCount=9.
>>
>>And, yes, I am using the MemberClass for the pages of the pageframe.
>>
>>Thanks for your ideas.
>>
Sergey,
I found the reference you must made in the VFP online help. That is pretty dense. Could you clarify it for me.
I developed my form using the form designer as an instance of one of my form classes. The pageframe is an instance of a pageframe class in a vcx. I am using MemberClass for the pages. The pages are all instantiated at design time.
I note that if I put DoDefault() in the Init method of each page (not in the class definition), and set a breakpoint on that line in each page. They get hit on every page except the one that I just added.
Thanks for your help.
Jim
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement