08-12-2014 02:30 AM
I want to see only the Single executing step in sequence view of the user interface
are there any egs for the same!!
08-12-2014 09:19 AM - edited 08-12-2014 09:20 AM
This is relatively trivial to implement yourself. Handle the UIMessageEvent of the ApplicationMgr and when you get a trace UIMessage do something like the following:
if (uiMsg.Event == UIMsg_Trace)
{
int notUsed;
String currentStepName = "";
SequenceContext context = uiMsg.Thread.GetSequenceContext(0, out notUsed);
if (context.NextStepIndex >= 0)
{
currentStepName = context.NextStep.Name;
}
/// Do something with currentStepName like update an indicator control.
}
Hope this helps,
-Doug
08-12-2014 09:29 AM
thanks Doug
i will try that