08-24-2011 11:21 AM
I've been looking through the full UI example but can't find how they populate the configuration entry point list (it looks just like the sequence editor list). The goal is to call a configuration entry point from a custom UI. Currently we just use an index with the CommandKind_ConfiguratoinEntryPoint_Set and then Execute. I see you can also get the name for that index there, but how would I get all the names beyond just looping through an unknown number of indices? I'd like to search for a name and find it's index. Since the number of entry points may be unknown, it could cause issues with just running a loop. I'm sure there must be a somewhat easy way to do this since the example UI populates a list in the drop down menu at the top. I just can't seem to find where that happens.
08-24-2011 01:57 PM
I think it would be something like:
commands = ApplicationMgr.NewCommands();
command.InsertKind ( CommandKind_ConfiguratoinEntryPoint_Set, managerControl, -1, "", "", out numInserted);
You can then iterate through the commands collection.