Community Tip - When posting, your subject should be specific and summarize your question. Here are some additional tips on asking a great question. X
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!
Solved! Go to Solution.
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);
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);