Page in Tab can not be selected

Jun 18, 2008 at 4:31 PM
I have tried to select a page in tab but I get unsupported pattern but right click a page works. How can you just click a page.
Sample of the code

foreach

(ITabPage MyPage in tab.Pages)

 

{

 

if (MyPage.Name == Caption)

 

{

// does not worktab.Click();

MyPage.Select();

// works fine
MyPage.RightClick();

 

return true;

 

}

}

Coordinator
Jun 29, 2008 at 12:40 PM
Sorry for late response, can you send me the stack trace along with message for the exception you are getting.
Jul 14, 2008 at 10:38 PM
I have tried this with version 1.6 and it is working sorry for the late reply. Thanks a lot this a great library you are building
Jul 15, 2008 at 1:36 PM
Tab.SelectTabPage(name) works for me.
Aug 4, 2008 at 2:32 PM

 

//SearchCriteria pag = SearchCriteria.ByText("page2"); //with this, i can acces to a control, only by his text properties

 

 

//Core.UIItems.TabItems.TabPage page = window.Get<Core.UIItems.TabItems.TabPage >(pag); //Core: control type + SearchCriteria

 

 

//page.Click(); //click

its works 100%