Hello,
I have a form with two tabpages and even though I have tab property on the tab set to 1 second tabpage is constantly set as active when the form is opened.
I tried set this property by default to -1 but it doesn't help. Did anybody encounter such issue before. Any help will be appreciated.
Thank you.
THe only problem left that when I click on the create button in the default action pane it redirects me to the 2nd tabpage still thinking it's the main tabpage. Maybe I need to create a custom actionpane and switch off the default action pane created by the D365FO. What do you think? IN that case how to switch off the default actionpane?
Hi Danilo,
Worked like a charm for me:) Added this in run before super() as you advised above
public void run() { TabPageGrid.activatePage(); super(); }
Many thanks!
Hi Azat,
Have you tried calling the activatePage() method for the first tab page on the run method / postRun event handler of the form?
TabPageGrid.activatePage();
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Andrés Arias as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
André Arnaud de Cal... 858 Super User 2025 Season 2
Sohaib Cheema 850 User Group Leader
CA Neeraj Kumar 827