Forum Discussion
I agrees with tristaanogre
Probably you are trying to click tab not yet visible, should be clicked tab from tab container.
You can check that up by recording your click action (only just single action), will show you which is the container owning all tabs.
Thanks tristaanogre and NisHera.
The container that holds all the tabs uses a class called TRzPageControl. Given this is the case, what would the syntax look like to select one of the tabs? Recording the click action only gives me screen coordinates within the container, not the tab name or page index itself.
- tristaanogre7 years agoEsteemed Contributor
Does TRzPageControl have a "ClickTab" method? That's what I would use. If it doesn't, then in your Project Properties -> Object Mapping you might want to add TRzPageControl to the Wind32 Controls and Windows | Tab Control item.
- Simon_InT7 years agoContributor
The container object of the tabs, which has TRzPageControl as the class, has ClickTab available as a method.
If I use containerobject.ClickTab(1) using the Index of one of the tabs or containerobject.ClickTab("Reports") using the Caption of one of the tabs I get the error "The tab control page 'Reports' not found. ".
I had actually already added TRzPageControl to the ObjectMapping and seemingly this does not make a difference.
Related Content
Recent Discussions
- 3 days agoMW_Didata