How to set focus on tab

Eli Guttman
Tera Guru

Hi,

i created a custom table with few fields. i decided those fields to 2 tabs.

i was able to hide / show one of the tabs depending on a value in a certain drop down field.

Does anyone know how i can set focus on a tab - so when i change the value of the filed, the tab will open but also get focus?

Thank you

1 ACCEPTED SOLUTION
8 REPLIES 8

Thank you, this is what i was looking for!


Thank you, this was very helpful and I was able to solve a similar problem.   However, I can find no mention of g_tabs2Sections in any of the documentation.   Where do people find these sorts of things?   Might there be additional objects that would be helpful as well and not mentioned in the documentation?



Ric


Hi Ric,



Most observations like this are done by looking at OOB examples and reverse engineering them. I regret that not all "cool things" like this are documented. I, and others, continue to work with the developers and doc teams to expose information like this. One recent idea I just ran past the doc team is to have all new scripting APIs and properties documented. Personally, I have spent countless hours hunting down a property that was introduced in a release and changed functionality. Very frustrating.