Back to questions
JuniorTheoryCommon
In what order do the messages appear if the user answers «Да»?
&НаКлиенте
Процедура Удалить(Команда)
Оповещение = Новый ОписаниеОповещения("ПослеОтвета", ЭтотОбъект);
ПоказатьВопрос(Оповещение, "Удалить?", РежимДиалогаВопрос.ДаНет);
Сообщить("A");
КонецПроцедуры
&НаКлиенте
Процедура ПослеОтвета(Ответ, ДополнительныеПараметры) Экспорт
Сообщить("B");
КонецПроцедурыA B
- Expecting the code after
ПоказатьВопросto wait for the answer: it runs at once, and the answer arrives in the notification handler - Writing an action that depends on the answer after
ПоказатьВопрос: it belongs in the procedure named inОписаниеОповещения
- How do you rewrite this code with
АсинхandЖдать? - Why does the modal
Вопрос()not work in new configurations?