05-06-2015 12:30 PM
Hi,
Here there a way to have StepIn StepOut StepInto ActiveX Buttons in a LV OI just like the terminate button ?
Or trough the TS engine with some methods ?
Thanks
Sebastien
Solved! Go to Solution.
05-06-2015 01:02 PM
Just use the TestStand UI Button Control and connect it to the ExecutionView Manager with the CommandKind_StepInto, etc...
Attached is an image.
05-06-2015 01:21 PM
OK nice thank you !
But which is the best :
1) Customize a LV button. Connect a TS button like you said, and hide it. On the LV button value change event do a DoClick on the TS button.
2) Customize a LV button. Using the StepInto/Step... methods of the execution class on the LV button value change event.
3) Connect a TS button like you said, and show it (no icon on the button...)
4) Are the TS UI Debug Controls (the same as in the TS editor) available somewhere ?
05-06-2015 01:35 PM
Option 4 the answer is no.
I would go with option 1 over option 2. Because the ActiveX inherent functionality is a lot better than you could ever develop yourself (Option 2 is out). No offense to your programming skills. It's just a waste to re-invent the wheel.
This leaves us with Option 1 vs Option 3. Personally it depends on the look and feel you want. If you want a custom look then go with Option 1. I've done that in the past with UIs and haven't had issues. Option 3 will update the button text for you but you won't have the pretty icons. Plust Option 3 is the easiest to implement and requires the least amount of maintenence.
Hope this helps,