x11 Posted July 23, 2020 Share 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 Link to comment Share on other sites More sharing options...
x11 Posted August 27, 2020 Author Share Posted August 27, 2020 up Link to comment Share on other sites More sharing options...
picyka Posted September 2, 2020 Share 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 Link to comment Share on other sites More sharing options...
Tarshku Posted August 14, 2021 Share Posted August 14, 2021 I think this problem from MessageDlg if you replace it with another way , no raised exception Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now