|
<< Click to Display Table of Contents >> Navigation: Telegram > 2020 > 03 > 11 > Telegram_2020-03-11T12 |
2020-03-11T12:10:08
Sorry, but I can't find any helpful demo.
I need to run a long process and at the end it must send a \toast\ on the screen,
while the user can go further
2020-03-11T12:37:01
type: mention @Alex7691 or type: mention @fduenas Can one of you assist?
2020-03-11T12:37:54
??
2020-03-11T12:41:11
When I search the demos for \TThread\ I get a hit on \threaded.pas\ in the \Features\ demo. I haven't looked inside but a start.
2020-03-11T12:42:30
Yes you can. Let me take a search to the demos to see if there is one
2020-03-11T12:43:06
Yes it is a good example but not my case, thanks
2020-03-11T12:44:27
Hi Fransisco,
while not Fransisco.GiveSoultion do sleep(1000);
:)
2020-03-11T12:49:05
Thats a good example hehe.
2020-03-11T12:49:53
Well. If your task is going to take a while a you need to let the user continue wirñth the app. You should use the iwtimer
2020-03-11T12:50:15
So the fronend should look for any update each certain of time
2020-03-11T12:51:18
At server side, you can use your thread and when finished set a flag or a message In variable
2020-03-11T12:51:41
type: link https://www.atozed.com/forums/showthread.php?tid=943&pid=2486#pid2486
2020-03-11T12:52:09
Yes, this looks good
2020-03-11T12:52:21
I give a try
2020-03-11T12:52:48
Yeah iwmonitor is also a solution
2020-03-11T12:53:35
Yes I still used iwmonitor, but not this way
2020-03-11T12:54:52
That sample should give you a guidance.
2020-03-11T12:55:52
Yes, thank you very much everybody
2020-03-11T12:59:25
BTW, the forum is generally a good place to post \how do I\ questions. Then, when there is a solution, we can point to it later. Like in this case. Telegram just doesn't work well for that.