ShiftRelativeTo property not properly saved in inherited form
Dear,
I have the following problem : I have a form (say TFormParent) with a Report
on it, and I have an inherited form (say TFormChild = class(TFormParent) ).
In the inherited form, there are some text changes. There is a problem
saving the inherited form : all the components that have their
ShiftRelativeTo property set to another component, and are in a Region, are
saved incorrectly : ShiftRelative is set to Nil in this case, although I do
not change this property. Even if I correct the situation in the object
inspector and save the form, the result is the same : ShiftRelative = nil.
When the component isn't in a region, there is no problem.
Can you help me out on this one?
Thanks
ps I'm using RB 7.01, D6
I have the following problem : I have a form (say TFormParent) with a Report
on it, and I have an inherited form (say TFormChild = class(TFormParent) ).
In the inherited form, there are some text changes. There is a problem
saving the inherited form : all the components that have their
ShiftRelativeTo property set to another component, and are in a Region, are
saved incorrectly : ShiftRelative is set to Nil in this case, although I do
not change this property. Even if I correct the situation in the object
inspector and save the form, the result is the same : ShiftRelative = nil.
When the component isn't in a region, there is no problem.
Can you help me out on this one?
Thanks
ps I'm using RB 7.01, D6
This discussion has been closed.
Comments
You shouldn't mix form inheritance and report templates. When using form inheritance you'd better place the report component in the descendant. I never use form inheritance with (design time) components in the ancestor.
HTH,
Chris Ueberall;