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.
Unfortunately, activation email could not send to your email. Please try again.

Howto change TabRect in TabControl.OnDrawItem?

Thread ID:





35673 Oct 6,2005 06:28 AM Oct 13,2005 08:12 AM Windows Forms 1
Tags: FAQ
Krzysztof Witukiewicz
Asked On October 6, 2005 06:28 AM

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 08:12 AM

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.

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.