Quantcast
Channel: Microsoft Dynamics AX Forum - Recent Threads
Viewing all articles
Browse latest Browse all 175888

RE: How to hide the tab pages based on condition

$
0
0

Do you mean you added a tab or a tab page? Anyway the solution is the same.

Just set the AutoDeclaration property Yes for the tab (page), and call myTabPage.visible(true) or myTabPage.visible(false) based on your condition.

I don't know your condition, but usually these kinds of changes to the form appearance should be made in the init method of the form, after the super() call.

Many standard forms have a method called updateDesign() which is called from the init method.


Viewing all articles
Browse latest Browse all 175888

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>