By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,442 Members | 1,341 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,442 IT Pros & Developers. It's quick & easy.

Inherited Controls Question

P: n/a
OK, so VB'2005 let's you build whizzo UserControls with all that
Anchoring and Docking stuff taking care of the layout, so you don't have
to hard-code it all anymore.

But ...

When you then /inherit/ from that UserControl, how in Blue Blazes do you
persuade the Forms Designer /not/ to suspend the layout events that keep
the base Control looking the way it should? The arrangement of controls
within the base control seem to get completely messed up when I start
using the inherited UserControl on a Form; it's as if all the whizzo,
new, automatic stuff has been turned off again.

Do you /really/ have to hard-code the arrangement of [base] controls
into the [base] OnLayout method?

How are inherited Controls /supposed/ to work?

Phill W.
Jul 18 '07 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.