N
Nathan
This is to redirect my earlier question about the designer and .NET CF 2.0.
I've found out more.
It seems that the trouble is that the Panel Control and TabPage Control
don't respond to AutoScaleMode. In fact, they behave quite unpredictably in
the designer.
Looking at the hierarchy, it is apparent that Panel and TabPage inherit from
Scrollable Control, and not ContainerControl. Not sure why, since they are
definitely containers for other controls.
I can't be the only one who has run into this. What is a suitable
workaround? Is there a control I should use that is like a Panel, but has
the important AutoScaleMode property? Non of the descendents seem to be in
the toolbar.
Maybe a custom control is what you'll suggest. I don't want to reinvent the
wheel, so if it has already been solved, I want to learn from that.
Nathan
I've found out more.
It seems that the trouble is that the Panel Control and TabPage Control
don't respond to AutoScaleMode. In fact, they behave quite unpredictably in
the designer.
Looking at the hierarchy, it is apparent that Panel and TabPage inherit from
Scrollable Control, and not ContainerControl. Not sure why, since they are
definitely containers for other controls.
I can't be the only one who has run into this. What is a suitable
workaround? Is there a control I should use that is like a Panel, but has
the important AutoScaleMode property? Non of the descendents seem to be in
the toolbar.
Maybe a custom control is what you'll suggest. I don't want to reinvent the
wheel, so if it has already been solved, I want to learn from that.
Nathan