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.

TabPageAdv focus rectangle

Thread ID:

Created:

Updated:

Platform:

Replies:

25335 Feb 24,2005 11:22 AM Feb 24,2005 12:06 PM Windows Forms 1
loading
Tags: Tools
Derek Stafford
Asked On February 24, 2005 11:22 AM

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 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.

CONFIRMATION

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.

;