Posted: Tue Nov 27, 2007 7:44 pm Post subject: Accessing controls from different tabs bug
I used element functions to identify controls under each tab from Tabbed dialog.
I used RxElementFindChild with role as ROLE_SYSTEM_DIALOG. I could see the number children of this role was equal to the number tabs. But When I try to access the children from each of these Dialogs I always get children from first Tab.
Is this a known issue?
Do we have any other workaround to find the children tabs using element functions?
Just because the number of children of the dialog element equals the number of tabs that doesn't necessarily mean that the children really are the tab controls.
You should search for tab pages using the ROLE_SYSTEM_PAGETAB role. Just supply this role to the RxElementFindChildren method searching in the dialog element and you should get elements for all tab pages of your dialog.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum