11-28-2024 02:27 AM
Hi, Guys:
I am start a learn from TestStand's example, it is Building a TestStand UI with Native Controls in Modifying User Interface Folder. I try to add some button to open the following dialogs of:
Station Options
Search Directories
Adapters
Result Processing
all the buttons are working properly.
Then I add other button and tried to open Model Options dialog, it is unsuccess.
my C# code is similar to the following below:
axApplicationMgr. GetCommand(CommandKinds.CommandKind_ConfigureSearchDirectories, 0).Execute(true); // Open search directory
I do not know which command of CommandKind can open Model Options dialog.
Anyone who know this?
Thank you so much!
Solved! Go to Solution.
11-28-2024 03:23 AM
I think this is due to the fact, that the ModelOptions Dialog is implemented in the seq file of the ProcessModel.
In fact, the ModelOptions is a ConfigurationEntyPoint which must be run as a sequence.
Yet you will have to provide parameters...
11-28-2024 04:29 AM
The Full-Featured User Interface allows you to configure ModelOption in Editor Mode.
Hav you already checked the solution used there?
11-29-2024 02:54 AM
Hi, Oli_Wachno:
Got it!
I think that's the reason.
Thank you so much for letting me know more.