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. Image for the cookie policy date

TabPageAdv focus rectangle

Is there any way of stopping the TabPageAdv.Text having a dotted box drawn around it when the page is selected? I''ve tried setting focus to another control on the page when the OnPageEvent is fired but this does not always work.

1 Reply

AD Administrator Syncfusion Team February 24, 2005 12:06 PM

Hi Derek, To disable the focus rectangle, please do the following: 1) Set the TreeViewAdv''s OwnerDrawNodes property to true. this.treeViewAdv1.OwnerDrawNodes = true; 2) Handle the TreeViewAdv''s BeforeNodePaint event as shown below : private void treeViewAdv1_BeforeNodePaint(object sender, Syncfusion.Windows.Forms.Tools.TreeNodeAdvPaintEventArgs e) { e.Active = false; } Hope this helps. Regards, Gregory Austin Syncfusion Inc.

Loader.
Live Chat Icon For mobile
Up arrow icon