Is it possible to get the position of a specific tab in a tab control?
I'm trying to get the .Left property of a specific tab page in a tab control (based on the header), the .Left and .Right properties seem to return the position of the tab control itself, not the specific page. I want to align a label with the tab page header, the probl开发者_C百科em is that the page can move depending on whether other tab pages are present or not.
Is this possible?
EDIT: It is possible - Use GetTabRect(x) which returns a rectangle representing the tab's rectangle.
精彩评论