>Hi
>
>>A subclass inherits everything that parent class has. Why do you need to copy anything?
>
>Yes this is a subclass that I have to enhance. There are already 2 pages (in the pageframe of the form) on the parent class, now I have to add a 3rd page on it. This 3rd page should have some common textboxes and labels on it that are already on page2. I could recreate them but that is unnecessary work for such routine work (neither do these control justify classes of their own) These controls are there only to keep the user in perspective on what current record they are on.
>
>Thanks and regards.
backup vcx
create a page class, add the common controls you need on every page to this clas. Set pageframes MemberClass* properties so that they use the page class.
copy all page specific stuff from the backup
change name property of the pages to something like Page1, Page2
HTH
Agnes
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord
Weeks of programming can save you hours of planning.
OffThere is no place like [::1]