How I can get or select a value from a combobox? (C#)

Hello,

how I can get or select a value from a combobox? (C#)

Greeting

ToTo

SolidworksApi macros
Answers 1
AT
AT 2013-08-02 Best Answer

Are you talking about the SolidWorks Property Page combobox? If so you can use the  PropertyManagerPageCombobox::ItemText where the item is PropertyManagerPageCombobox::CurrentSelection.

If you are talking about windows forms combobox than ComboBox::SelectedText or ComboBox::SelectedItem

____________________________________________________

Regards,

Artem Taturevych, Application Engineer at Intercad (Australia)

translationXpert – add-in to translate SolidWorks models

myIntercad – an integrated tool for SolidWorks Professionals

LinkedIn SolidWorks API Education Group