Tab control autosize?

  • Thread starter Thread starter Hans Merkl
  • Start date Start date
H

Hans Merkl

Hi,

Is it possible to make a tab control adapt to the size of the control on
the tab pages? I am sure I can do it with code but I am wondering if there
is a built-in capability. I can't find an AutoSize property.

Thanks

Hans
 
Hi Hans,

I am sorry that there's no a built-in capability for a TabControl to adapt
to the size of the controls on its tab pages. The AutoSize property isn't
supported by TabControl and TabPage.

As for a workaround, in addition to the way of adjusting the size of the
TabControl with code, I think you could set the AutoScroll property of the
TabControl to true.

Hope this helps.
If you have any concerns, please feel free to let me know.


Sincerely,
Linda Liu
Microsoft Online Community Support

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.
 
Linda,

Thanks a lot for the response. It won't be too difficult to do this with
code.

Hans
 
Back
Top