On Sun, Nov 30, 2008 at 10:27 AM, Fabio Petrucci <span dir="ltr">&lt;<a href="mailto:fabio.petrucci@gmail.com">fabio.petrucci@gmail.com</a>&gt;</span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi all,<br><br>i am trying to use wxComboBox (instead of wxChoice) to capture wxTE_PROCESS_ENTER event.<br><br>If i enable TE_PROCESS_ENTER flag on the resulting xrc file, i get an &#39;Unknown style flag wxTE_PROCESS_ENTER&#39; on app loading.<br>

<br>Probably wxComboBox doesn&#39;t reconize this kind of event.</blockquote><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>How do i catch this event for the wxComboBox widget?<br>
<br>Thank you all.<br><br>bio.<br>
</blockquote></div><br><div><br>
&nbsp;Wx::TE_PROCESS_ENTER can be set programmatically by window#toggle_window_style(Wx::TE_PROCESS_ENTER)<br><br>...now it works, but enabling this flag, the widget loose TAB controls (TAB / SHIFT+TAB)<br><br>To try it out, on the &#39;BigDemo -&gt; wxComboBox&#39; example if i add this flag <br>
<br>on line 23:<br><br>cb = Wx::ComboBox.new(self, 500, &quot;default value&quot;, Wx::Point.new(90,50), Wx::DEFAULT_SIZE,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; sampleList, Wx::CB_DROPDOWN|Wx::TE_PROCESS_ENTER)<br><br>i get the enter event but no tabbing is possible.<br>
<br>Is it a bug?<br><br>Thank you for your help.<br><br>bio<br></div><br>