The last few posts have been a lot to digest.
First a few clarifications - I'm not placing a NxPageControl on a frame, adding the frame to a form and overriding the pagecontrol contents on the form. Instead, I am placing the NxPageControl on a frame and adding tabsheets there, and dropping the frame on a form.
Second, I am using C++ Builder 2007. It is having problems with frame inheritance that I have posted to QC. I have no confidence that it will be resolved (yuck.) Just as a sanity check, I looked at the help file and found this:
"A frame, like a form, is a container for other components. It uses the same ownership mechanism as forms for automatic instantiation and destruction of the components on it, and the same parent-child relationships for synchronization of component properties. But frames can be nested within forms or other frames, and they can be saved on the Component palette for easy reuse. After a frame is created and saved, it continues to function as a unit and to inherit changes from the components (including other frames) it contains. Moreover, an embedded frame continues to inherit changes made to the frame from which it is derived. "
I think that says that frame inheritance should work. It did in C++ Builder 6.
So, I suspect that the problem I have is a combination of BCB2007 bugs and a problem writing the dfm file in which a NxPageControl resides. I truly appreciate your working on this.
An aside -
Instead of TFrames, what do you use when you have a collection of controls that appear on more than one form? Based on the help quoted above, TFrame fits my requirement (except is doesn't work any more.)
Thanks,
- Phyllis