Visual Inheritance in User Control

M

Mike C

I am creating a CF application using VB.Net 2.0 and VS2005.
I am trying to create a heirarchy of controls to give my application a
common look and feel.

Here is what I have so far:

public class ctrlBase inherits UserControl

public class tabBase inherits ctrlBase

public class pageMain inherits tabBase

When working with tabBase, I can correctly see the formatting and
controls on ctrlBase, and then add controls that should be accessable
to all decendants to tabBase. However, when I go into the designer
for pageMain, instead of seeing the controls from tabBase, I am again
presented with ctrlBase and its controls.

Is there some setting I need to make to allow inheritance deeper than
one level?

I appreciate any help you can offer.

Mike
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top