Hi all,
I'm trying to get properties of a tab control, but I can't get it to work. I
tried it with several tab controls, but no luck. In the example below I look to
the tab control of the Outlook 2007 options screen. As you can see I'm getting
the right control, but none of the properties is working so far. Any idea or
hint is highly appreciated.
Set findIt = activeWindow.Children.FilterByClassAndModule("SysTabControl32", "")
print findIt.count
1
Set tabby = findIt(1)
print tabby.name
SysTabControl32
print tabby.type
19
print tabby.count
Error: Object doesn't support this property or method: 'tabby.count'
print tabby.FocusedIndex
Error: Object doesn't support this property or method: 'tabby.FocusedIndex'
print tabby.SelectedIndex
Error: Object doesn't support this property or method: 'tabby.SelectedIndex'
print tabby.Text(1)
Error: Object doesn't support this property or method: 'tabby.Text'
Best regards and thanks,
Ralf