Get selected value from ComboBox

Get selected value from ComboBox


I have a SCREEN as type "Time/Lot Filter", and screen name is "myScreen".
The screen has a combobox name as "cmbDayInDailyView".


Now, I want to get the selected value of the combobox from RUNTIME.

And I write this code in VSTA:

zenOn.IDynPicture screen = this.DynPictures().Item("myScreen"); // OK
zenOn.IElement cmbElement = screen.Elements().Item("cmbDayInDailyView"); // OK

string mySelectedValue = cmbElement.get_DynProperties("I dont know this parameter").ToString(); // NG

Is is possible to use get_DynProperties method in RUNTIME?
If so, please tell me the parameter.

Sincerely...



This is a migrated post! Originally posted on 21.03.2017 by user monad. Please be aware that information can be outdated.