Skip to main content

Notifications

Microsoft Dynamics AX (Archived)

enable back button problem in a SysWizard caused by click on a button

Posted on by Microsoft Employee

Hi,

i have create a wizard for printer settings. I have the welcome tab with 3 Buttons for create, change or delete printer. if I click on one of this buttons, the wizard class doesn't know, that i have change the tab. The wizard class check this change only, if i click on next. My problem is, that the back button is disabled, because the wizards method curTabName() shows the first tabname.

I try to set the backEnabled to true, but it doesnt work.

Who have an idea to solve this problem?

Thx in Advance.

Witchmaster

*This post is locked for comments

  • Verified answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: enable back button problem in a SysWizard caused by click on a button

    I solve this problem, I wrote an method, that set the tabIdx to the value of the target tab.

    public void goToTab(int tabSkipCount)
    {
       //change the tab
       tab.tab(tabSkipCount);
       //change the index
       tabIdx = tabSkipCount;
       this.enableButtons();
    }
    

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.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,240 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans