Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SaveAsClass Bug?
Message
From
30/08/2001 09:27:26
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00550608
Message ID:
00550823
Views:
17
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform