Is is it possible to copy objects that are members of a parent class from one screen form class to another?
What I have is say a class library called MYBASE.VCX which has my own form, textbox, combo, etc. based on the foxpro base classes. I build a new class library called MYAPP.VCX. I put a form called CUSTOMER in that new library which is based on the form in MYBASE.VCX. I put textbox controls on that form which are based on a control in the MYBASE.VCX class library.
Now let's say I want to make a new form in the MYAPP.VCX again based on the base form in the MYBASE.VCX library. We'll call this form INVOICE. I want to copy the company name, street address, city, etc. textboxes from the CUSTOMER form to the INVOICE form so that their appearance looks the same on both forms without having to go through and add each individual text box one at a time.
When I attempt to copy the textboxes from CUSTOMER I get the message:
Cannot copy objects beacause some are members of a parent class.
Is there any way around this?
Thanks,
Don