title: Get value from ComboBox?
body: <p>I have in <strong>MyForm</strong> a <strong>ComboBox</strong> (<em>myComboBox</em> ) with EnumType <em>myEnumType</em> .</p>
  
  <p>In the  <code>modified</code> method , I want to get the value.</p>
  
  <p>I used the code looklike:</p>
  
  <pre><code>if (myComboBox.enumTypeValue() == myEnumType::Value1 )
  {
  //action
  }
  </code></pre>
  
  <p>Or anothe way    </p>
  
  <pre><code>if (myComboBox.enumType(myEnumType::Value1) )
  {
  //action
  }
  </code></pre>
  
  <p>In both cases I can not take the value.</p>
  
  <p>What is the way? Thanks, all!</p>
  
  <p>Enjoy!</p>