|
<< Click to Display Table of Contents >> Navigation: Telegram > 2023 > 05 > 24 > Telegram_2023-05-24T16 |
2023-05-24T16:20:06
Not exactly the way you are describing. If you want to update the page while doing some lengthy operation you need to do it in a separate thread
2023-05-24T16:20:40
ServerController.OnConfig is the place to configure anything related to the server
2023-05-24T16:21:05
Is there a way I can configure error messages to not be displayed to the end user?
2023-05-24T16:23:05
Async/Ajax errors? You can set AjaxErrorMOde to emConsole (will log it using the browser console, not visible to the user) or emNone (which will hide them completely)
2023-05-24T16:23:35
Thanks
2023-05-24T16:26:03
Ah, one other thing whilst I’m here. I have no idea why this error exists but I’m using the IWGrid and populating certain cells control properly with TIWButtons to take action on a grid record. For some reason, sometimes when I click a button it throws an access violation error, but upon second click the button works completely fine. I’ve written a routine to completely clear the grid when new data is added/the grid is reset where it frees all controls in the grid and then calls TIWGrid.Clear. The buttons are created and assigned an OnAsyncClick function that exists within the unit.
2023-05-24T16:26:08
Any ideas?
2023-05-24T16:29:58
Not really. If you can recreate this in a separate test case, I can have a look
2023-05-24T16:35:30
I think I’ll struggle to recreate this, thanks for reading anyways. I’ll try to catch the error whilst in debug mode. I think when I tracked it before it took me to try access IWCompGrid.pas which I couldn’t.
2023-05-24T16:40:37
turn on the exception logger and make sure that the call stack is present and contain the line numbers. With the call stack is possible to find the cause