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

TabPageAdv focus rectangle

Thread ID:





25335 Feb 24,2005 04:22 PM UTC Feb 24,2005 05:06 PM UTC WinForms 1
Tags: Tools
Derek Stafford
Asked On February 24, 2005 04:22 PM UTC

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.

Administrator [Syncfusion]
Replied On February 24, 2005 05:06 PM UTC

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.


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

This page will automatically be redirected to the 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

Live Chat Icon For mobile
Live Chat Icon