|
<< Click to Display Table of Contents >> Navigation: Telegram > 2025 > 03 > 07 > Telegram_2025-03-07T09 |
2025-03-07T09:12:30
Try this:
type: pre ajaxCall('MYBUTTON.DoOnAsyncClick', 'RetValue=True'); language:
2025-03-07T09:25:11
This works, but I do not explain the real deal of this.
I'm using a TIWAnimatedButton and after executing some lines (at the end of AsyncClick), let's say, IWAnimatedButton1.OnAsyncClick, I need to execute another button AsyncClick, to avoid duplicating my code. This 2nd AsyncClick is where my heavy code is.
So, if I use your aproach, the IWAnimatedButton1 will stop the animation after I call the 2nd AsyncClick, with your aproach
ajaxCall('MYBUTTON.DoOnAsyncClick', 'RetValue=True');
So what I need is that IWAnimatedButton1 only stops his animation after the 2nd AsyncClick ends? How can I achieve this?