I need ask yes/no question and mobile interface tools

The 1C:Enterprise developers forum

#1
People who like this:0Yes/0No
Active user
Rating: 7
Joined: Jul 28, 2015
Company:

Hi everyone,

I am developing mobile configuration. I need to know what I can do in gui. I mean, Which skills can used by me?

I want to say to yes no question to user in some where of my configuration, how can I do that?

 
#2
People who like this:0Yes/0No
Active user
Rating: 2
Joined: Aug 28, 2015
Company:

Hello, Mehmet Tuğrul SARIÇİÇEK.

Here is a working code:

Code
&AtClient
Procedure Ask()
    Mode = QuestionDialogMode.YesNo;
    Notify = New NotifyDescription("AfterQueryClose", ThisObject);
    DoQueryBox("Do you want to continue?", Mode, 0);
EndProcedure

&AtClient
Procedure AfterQueryClose(Answer, Parameters) Export
    If Answer = DialogReturnCode.No Then
        Return;
    EndIf;
    //...

EndProcedure

Edited: Samir Muqimov - Sep 04, 2015 02:57 AM
 
#3
People who like this:0Yes/0No
Active user
Rating: 7
Joined: Jul 28, 2015
Company:

Samir Muqimov,

Thank you Samir, Thank you very much

 
Subscribe
Users browsing this topic (guests: 1, registered: 0, hidden: 0)
Be the first to know tips & tricks on business application development!

A confirmation e-mail has been sent to the e-mail address you provided .

Click the link in the e-mail to confirm and activate the subscription.