10-16-2016 09:34 PM
How to let axSequenceView display the sequence file after opened before running.
Solved! Go to Solution.
10-17-2016 02:37 AM
I have never tried this, but possibly, you could fire a trace event consciously from your sequencefileload callback.
Norbert
10-17-2016 03:08 AM
Thanks Norbert!
It's quite easy to add sequencefileload callback for me, but after that, I still don't know how to let axSequenceView to display it as well.
Demos will be high appreciated, thanks again!
10-17-2016 03:46 AM
I recommend to implement the callback in the UI, not the sequence file.
In that callback, you have to determine which sequence file is loaded to identify "valid" files. If the file is valid, you can post a UI message using the thread object.
As stated above, i never tried to post a trace event without a running execution. It is possible, that this is not going to work properly if there is no active execution on that sequence (file).
Norbert
10-18-2016
04:42 AM
- last edited on
12-04-2024
09:11 AM
by
Content Cleaner
I'd do it differently, you only see steps during execution because your sequence view control is connected to ExecutionView Manager. I would have two controls of the same size which sits on top of each other, one connected to ExecutionView as is by default and the other to SequenceFileView manager.
You can then use callbacks to Start Execution and End Execution events in the UI to make the right control visible. It is very easy to accomplish this.
10-19-2016 04:50 AM
This Good!
10-19-2016 04:50 AM
Good! It's OK for me.
10-19-2016 05:03 AM
I find another way, one axSequenceView1 is enough, you can connect it two times seperate.
in Form Load event:
axSequenceFileViewMgr.ConnectSequenceView(axSequenceView1);
when Start Test Event:
axSequenceFileViewMgr.GetCommand(CommandKinds.CommandKind_ExecutionEntryPoints_Set, 0).Execute(true);
axExecutionViewMgr1.ConnectExecutionView(axSequenceView1, ExecutionViewOptions.ExecutionViewConnection_NoOptions);
09-10-2019 06:20 AM
Kudo for that, TabZhang. However a word of warning to others: most debug facilities are only available through the SequenceFileViewMgr, so if you are executing and hit a breakpoint you should perhaps reconnect the SequenceFileViewMgr so that the debug context menu operates. Of course that loses the execution status column, which also happens when you switch back at the end execution event. It seems to me it would be much better if only one view was needed, perhaps the one connected to the SequenceFileViewMgr, and this also shows the status column (which would be blanked at the start of each execution). I have submitted this idea to the idea exchange, please kudo it if you agree with it.