Action by timer

StatusIDPriorityType
Closed252BlockerQuestion
ProfileReply
Sasha (Xafari Support)Client

From: Henry

Hi,

I want to know about the module "Action by Timer".

Does it support Module.Web?

Thanks

Replies

UserDescriptionPosted On
Sasha (Xafari Support)Client

Information of the module “Action by Timer” you can see in links https://documentation.galaktika-soft.com/xafari/action_by_timer.html and
http://xafari.ru/xafari-platform/features/auto-execute-action.
Produce you example code with WinAutoExecuteController:

public class CloseDialogViewController : ViewController
{
public CloseDialogViewController()
{
InitializeComponent();
RegisterActions(components);
}

protected override void OnViewChanged()
{
base.OnViewChanged();

if (this.View.CurrentObject is ParametersObject)
{
var autoExecuteController = this.Frame.GetController();

if (autoExecuteController != null)
{
var dialogController = this.Frame.GetController();

if (dialogController != null && dialogController.AcceptAction != null)
{
autoExecuteController.InitializeCountDown(10, dialogController.AcceptAction);
}
}
}
}
}

Where InitializeCountDown:

1) in seconds the countdown
2) action type SimpleAction that runs on a timer
3) and controller has methods for controls timer

The module not supported for Web.

Attached files:

× This ticket is closed.

Write US