Remove focus on a disabled tab item
-
Hi all, I have created a tab control with 4 tab items.2 tab items are disabled initially.Only the enabled tab items must be focussed when the mouse pointer is placed onto the corresponding enabled tab item. problem i am facing here is even the disabled tab items are focussed when the mouse pointer is moved onto the corresponding disabled tab item pls suggest me how to avoid getting focus on the disabled tab item Thanks, Sireesha
-
Hi all, I have created a tab control with 4 tab items.2 tab items are disabled initially.Only the enabled tab items must be focussed when the mouse pointer is placed onto the corresponding enabled tab item. problem i am facing here is even the disabled tab items are focussed when the mouse pointer is moved onto the corresponding disabled tab item pls suggest me how to avoid getting focus on the disabled tab item Thanks, Sireesha
You could try catching the GetFocus event and setting the focus back to the previously-focused tab.
Phil
The opinions expressed in this post are not necessarily those of the author, especially if you find them impolite, inaccurate or inflammatory.