Lock indicator and programmatically clicking a button

Hello.
It is written that LockIndicator can be only used on events(https://www.cgdevtools.com//cgforum/viewtopic.php?f=102&t=382#p12551).
Because of that I created a Button and linked event on click with a lock indicator. If button is clicked manually everything is ok, but if button is clicked programmatically no lock indicator is shown (event on click is executed correctly)
Is there any other way to programmatically click a button, so that lock indicator is shown ?
Regards,
Tomaž
It is written that LockIndicator can be only used on events(https://www.cgdevtools.com//cgforum/viewtopic.php?f=102&t=382#p12551).
Because of that I created a Button and linked event on click with a lock indicator. If button is clicked manually everything is ok, but if button is clicked programmatically no lock indicator is shown (event on click is executed correctly)
- Code: Select all
TIWCGJQButton(ButtonConfirm).JQButtonOptions.OnClick.OnEvent(ButtonConfirm, AParams);
Is there any other way to programmatically click a button, so that lock indicator is shown ?
Regards,
Tomaž