The 1C:Enterprise developers forum

#1
People who like this: 0 Yes / 0 No
Interested
Rating: 11
Joined: Nov 10, 2011
Company: 1A Software e.U

Hello!

I would like to call a form by an event OnChange().
For example, if a user changes some values, it can be boolean True/False, the application should ask something like:

"are you sure you want to save changes?" und Yes/Now.

I guess I should create a common form with OK/Cancel, but how can I open this form by the event OnChange()?

I would be very grateful if somebody could at least tell me, on which pages of the practical development quide I can find the description. Some keywords would be also very helpfull.

Thanks a lot in advance!

 
#2
People who like this: 0 Yes / 0 No
Interested
Rating: 11
Joined: Nov 10, 2011
Company: 1A Software e.U

Actually I did not need a form for this task, but have made it similarly to:

Code
Notification = New NotifyDescription("PickCompletion", ThisObject); 
      ShowQueryBox(Notification, "Do you want to pick materials and | services?", QuestionDialogMode.YesNo);


as described on the page 741 of the practical development guide.

Code
QuestionDialogMode.YesNo


solved this task  :)

Edited: Lioudmila Nemtseva - Aug 27, 2015 11:56 AM
 
Subscribe
Users browsing this topic (guests: 2, registered: 0, hidden: 0)