x11 Posted July 23, 2020 Posted July 23, 2020 procedure TfmMobile1.actPhotoDelExecute(Sender: TObject); const constDeletePhoto = 'Видалити світлину?'; begin if carouselPhotos.PageCount > 0 then MessageDlg(constDeletePhoto, TMsgDlgType.mtWarning, mbOKCancel, DelPhotoCallbackAnonProc); end; Приложение запускаю в режиме отладки, т.е. F9. Если нажать кнопку на форме, то в браузере появляется окно с запросом (Ок/Отмена), а через полсекунды в IDE появляется исключение. Исключение появляется до входа в процедуру DelPhotoCallbackAnonProc. Quote Project raised exception class EUniSessionException with message 'Invalid session or session Timeout. (Invalid URI: /x-msgbox-warning )'. Т.е. в окне запроса я ничего не нажимаю, поэтому процедура DelPhotoCallbackAnonProc не выполняется, до нее не доходит. Если нажать Break то вот http://prntscr.com/tn8psp 1 Quote
picyka Posted September 2, 2020 Posted September 2, 2020 I noticed that I have this in the logs too, was there a solution? EUniSessionException : Sessão inválida ou expirou! (Invalid URI: /x-msgbox-warning ) : Addr: $0096A6C2 Project Mobile Quote
Tarshku Posted August 14, 2021 Posted August 14, 2021 I think this problem from MessageDlg if you replace it with another way , no raised exception Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.