We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Howto change TabRect in TabControl.OnDrawItem?

Thread ID:





35673 Oct 6,2005 10:28 AM UTC Oct 13,2005 12:12 PM UTC WinForms 1
Tags: FAQ
Krzysztof Witukiewicz
Asked On October 6, 2005 10:28 AM UTC

Hi, the problem is I change FontStyle of selected Tab to bold in OnDrawItem method. But then how can I resize Tab, so the text fits? I have only GetTabRect, but no SetTabRect. How to achieve such functionality? Thanks for any help in advance.

Administrator [Syncfusion]
Replied On October 13, 2005 12:12 PM UTC

Hi, Try using the TabControlAdv''s ItemSize property to change the tab size. Regards, Mano


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon