Posts: 13
Threads: 4
Joined: Apr 2021
Reputation:
1
Location: Germany
We often use async events, but it happens from time to time that we have to refresh the whole page in certain cases - as a result of an asnyc event.
Can that be done in any way?
Posts: 13
Threads: 4
Joined: Apr 2021
Reputation:
1
Location: Germany
We solved this with an OnTimer event.
If callback routines are triggered via dialogues, then some controls could not be updated (runs asynchronously, I think).
Now we start a timer with a short interval in the callback function.
That works very well.
As a short notification is posted also, that fits quite well anyway.
Posts: 2,299
Threads: 202
Joined: Mar 2018
Reputation:
87
Location: Auckland, New Zealand
We are adding a new method to TIWForm which will do this automagically. You just need to call
IWForm.ReloadAsync;
and it will take care of that for you.
Cheers
Posts: 36
Threads: 20
Joined: Jun 2020
Reputation:
0
Location: Chile
03-03-2023, 07:21 PM
(This post was last modified: 03-03-2023, 07:23 PM by raulevm.)
Intraweb does not recognize this method (IWForm1.ReloadAsync)for me in version 15.2.69. Is there a library to include in the uses clause?
Posts: 145
Threads: 28
Joined: May 2018
Reputation:
12
Location: Netherlands
The method is called AsyncReload()
Posts: 2,299
Threads: 202
Joined: Mar 2018
Reputation:
87
Location: Auckland, New Zealand
03-21-2023, 06:51 AM
(This post was last modified: 03-21-2023, 06:57 AM by Alexandre Machado.)
Ouch, thanks for the correction Jeroen. It is AsyncReload() indeed. Have no idea WTH I was thinking :-)