Access to control in Tabcontrol
Posted: Tue Jan 09, 2007 2:21 am
Hi,
I have a tabcontrol with 4 tabs in it. Each tab has listbox, combo box etc.
I have to navigate in all the tabs and dump the data in each of the control.
I am using Element approach but I am not able to dump the data except of the first tab. I am able to select the tabs but not able to grab the access of the controls in the tab.
Here is my code:
RxElementFindChild(elmRoot, ROLE_SYSTEM_PAGETABLIST,
GNTF_NULL, GNTF_NULL, &listElement);
for(each tab)
select tab
RxElementFindChild(&listElement, ROLE_SYSTEM_DIALOG,
GNTF_NULL, GNTF_NULL, &elmNewRoot);
dump the data
Can you please suggest a way to navigate in all the tabs and dump the data using Element approach.
Thanks,
Nikhil
I have a tabcontrol with 4 tabs in it. Each tab has listbox, combo box etc.
I have to navigate in all the tabs and dump the data in each of the control.
I am using Element approach but I am not able to dump the data except of the first tab. I am able to select the tabs but not able to grab the access of the controls in the tab.
Here is my code:
RxElementFindChild(elmRoot, ROLE_SYSTEM_PAGETABLIST,
GNTF_NULL, GNTF_NULL, &listElement);
for(each tab)
select tab
RxElementFindChild(&listElement, ROLE_SYSTEM_DIALOG,
GNTF_NULL, GNTF_NULL, &elmNewRoot);
dump the data
Can you please suggest a way to navigate in all the tabs and dump the data using Element approach.
Thanks,
Nikhil