Telegram_2023-05-24T16

<< Click to Display Table of Contents >>

Navigation:  Telegram > 2023 > 05 > 24 >

Telegram_2023-05-24T16

Telegram link

 

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

 


 

Telegram link

 

2023-05-24T16:20:40

 

ServerController.OnConfig is the place to configure anything related to the server

 


 

Telegram link

 

2023-05-24T16:21:05

 

Is there a way I can configure error messages to not be displayed to the end user?

 


 

Telegram link

 

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)

 


 

Telegram link

 

2023-05-24T16:23:35

 

Thanks

 


 

Telegram link

 

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.

 


 

Telegram link

 

2023-05-24T16:26:08

 

Any ideas?

 


 

Telegram link

 

2023-05-24T16:29:58

 

Not really. If you can recreate this in a separate test case, I can have a look

 


 

Telegram link

 

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.

 


 

Telegram link

 

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