cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Select layout in tab programmatically_Creating UI

SOLVED
VladiSlav
Pearl

Select layout in tab programmatically_Creating UI

Hello everyone!

 

Please tell me how can I select layout in tab programmatically.
I tried the methods SetVisible(true), SetEnabled(true), SetFocusOnDisplay(true) and so on (I use OTK Java, But it doesn’t matter, understanding is important, I think).
But nothing came of it.
Thank you in advance!


Regards!

Tags (3)
1 ACCEPTED SOLUTION

Accepted Solutions

Re: Select layout in tab programmatically_Creating UI

Found the answer in the examples:

Tab serverCacheTab = uifcTab.TabFind(OTKServerRegistryDialog.OTK_SERVER_DIALOG ,"server_cache_tab");
stringseq selNames = stringseq.create();
selNames.append("server_lay");
serverCacheTab.SetSelectedItemNameArray(selNames);

View solution in original post

1 REPLY 1

Re: Select layout in tab programmatically_Creating UI

Found the answer in the examples:

Tab serverCacheTab = uifcTab.TabFind(OTKServerRegistryDialog.OTK_SERVER_DIALOG ,"server_cache_tab");
stringseq selNames = stringseq.create();
selNames.append("server_lay");
serverCacheTab.SetSelectedItemNameArray(selNames);

View solution in original post

Announcements