Howto change TabRect in TabControl.OnDrawItem?

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.

1 Reply

AD Administrator Syncfusion Team October 13, 2005 12:12 PM UTC

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

Loader.
Up arrow icon