Forum Discussion

MDJ's avatar
MDJ
New Contributor
3 years ago
Solved

How to get a tabitem location?

I'm writing a script to rename a tabitem by right click the tabitem caption. But I can't get the tabitem location through testcomplete. Although I can directly assign value to tab "Text", but this i...
  • MDJ's avatar
    MDJ
    3 years ago

    I found the solution. The "TabControl" element has method "GetTabRect". I can get the tab caption location through this method.