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.
ADAdministrator Syncfusion Team February 24, 2005 12:06 PM
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.