B
bob
Hi,
VS2008
I have a DLL with a basic form for my App forms to derive from.
It only checks that a text box of the inheritor form has focus and
changes its fore colour.
It does not have any controls on its design surface.
I derived another form from this base form that has a split container
thinking that it would be a good base and not wanting to break any
apps that were based on the original basic form.
When creating a new inherited form in the main app I used the Add -
Windows Form - inherited Form. Then use the inheritance picker to
browse to the DLL.
Once my new form is created I found the design surface locked. i.e. I
can't drag any controls onto the main app form that derives from the
DLL SplitContainer form.
This is obviously by intention as little pad locks are showing up on
the edges of the split container and its propertiies are greyed out
In the object browser the base classes look OK. i.e. public
constructors.
This is my first serious attempt at using an inherited form from a
class library with a control on the surface.
Am I going about it the right way, is it simply a property I have
missed or am I misunderstanding inheritance with forms.
thanks
bob
VS2008
I have a DLL with a basic form for my App forms to derive from.
It only checks that a text box of the inheritor form has focus and
changes its fore colour.
It does not have any controls on its design surface.
I derived another form from this base form that has a split container
thinking that it would be a good base and not wanting to break any
apps that were based on the original basic form.
When creating a new inherited form in the main app I used the Add -
Windows Form - inherited Form. Then use the inheritance picker to
browse to the DLL.
Once my new form is created I found the design surface locked. i.e. I
can't drag any controls onto the main app form that derives from the
DLL SplitContainer form.
This is obviously by intention as little pad locks are showing up on
the edges of the split container and its propertiies are greyed out
In the object browser the base classes look OK. i.e. public
constructors.
This is my first serious attempt at using an inherited form from a
class library with a control on the surface.
Am I going about it the right way, is it simply a property I have
missed or am I misunderstanding inheritance with forms.
thanks
bob