Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Save form As Class issues
Message
 
 
À
01/09/2009 15:44:29
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
01422207
Message ID:
01422213
Vues:
47
>>>I have several forms that work fine, and are subclassed and have pageframes. Nothing unusual. However, I'm trying to convert one or any of them to a Class using the File menu > Save As Class. That runs fine, but when I then when I try to instantiate the form class object, I get "Unknown member" on some controls and the form will not instantiate. When I go into debugger, and use intelisense, the object in question is there, but no properties show up for it. So, it's kind of like the object on the form didn't get created fully for some reason. This happens with any of my forms that I try to save as class. Is there a bug in the Save As Class function? I've tried doing "Send to Back" and "Send to Front" on various controls, but can't solve it. Looking at the vcx I can't see anything that looks wrong. Also, I can modify the new form class just fine, but I just can't run it. Any help is greatly appreciated. -Mark
>>
>>Do you use any controls with pre-set MemberClass such as grid or pageframe?
>
>No, I don't use MemberClass anywhere in these forms' pgfs or grids or any other classes or their base classes. -Mark

Is your pageframe class based? If yes, what's the default number of pages?

Also, as a quick test - try to simply copy all the controls from one form to a new empty form and then try to Save As for that form.
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform