03-14-2012 12:53 PM
I'm working on a custom UI for Test Stand in C# 2010 and I've selected the columns I want shown in the properties window of the Sequence Viewer. When I run the UI, the execution view is defaulting to the standard columns. I tried adding the line ApplicationMgr.UseStepListConfigurations = false to my code, but all that does is turn the execution view background to black. Is there something else I should be doing?
Thanks
Solved! Go to Solution.
03-15-2012 12:06 PM
Hello dvtseng,
It looks like you should add axApplicationMgr.UseStepListConfigurations = false; just before axApplicationMgr.Start();
Here is a similar forum.
Regards,
03-15-2012 12:42 PM
I've tried that, but all it does is turn the background color of the view black, which I did not set (see the attached screen shot). Is there some way of preventing the background from turning black?
Thanks
03-15-2012 01:06 PM
Hello dvtsend,
Have you tried our example code in the filepath: C:\Users\Public\Documents\National Instruments\TestStand XXXX\UserInterfaces\Simple\CSharp?
I modified the columns on the MainForm and then inserted the line of code in the appropriate location and it worked for me. Let me know if you can make this work.
Regards,
Jeff L.
03-15-2012 01:51 PM
That got it. I had the axApplicationMgr.UseStepListConfigurations =false; and axApplicationMgr.Start(); in the Form_Load routine instead of the initialization routine.
Thanks for your help.