Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SaveAsClass Bug?
Message
De
30/08/2001 09:27:26
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00550608
Message ID:
00550823
Vues:
16
>Open class the same way you're openning .SCX form, using Modify command.
>
>>When you have a form object store in a vcx instead of a scx the code in the object do not get saved with the saveasclass method. So if you put code in the click event of the textbox it is not there in the mysubclass, but if the form is an scx it is.
>>
>>
>> oForm = NewObject('frmForm','myclass.vcx')
>> oForm.Textbox1.SaveAsClass('mysubclass','textbox1')
>>
>>
>>Does anyone have a work around for this?

I am tring to use saveasclass at runtime to save the controls on the form.
Charles

"The code knows no master." - Chuck Mautz
"Everybody is ignorant, only on different subjects." - Will Rogers
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform