Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Unanswered

problem about this.wait() in form

(0) ShareShare
ReportReport
Posted on by 6,646

Hi Guys

I have problem about method wait in my form.

I have a simple form with a button. I want to when form run it be wait() and after click on button waiting of this be false.

I wrote below code in method run of form

public void run()
{
    super();

    this.wait(true);

}

and below code in the method click of button

void clicked()
{
    super();
    this.formRun().wait(false);
}
 

my problem is, when method click run, form be Hang

  • André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 292,516 Super User 2025 Season 1 on at
    RE: problem about this.wait() in form

    Hi Hossein,

    What is the exact business scenario you want to achieve? If you set wait on the form, also the button is affected.

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,387 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans