[wxruby-users] wxComboBox and wxTE_PROCESS_ENTER

Fabio Petrucci fabio.petrucci at gmail.com
Mon Dec 1 15:01:55 EST 2008


-1, 1, 2, 3... [?]

0.. obvious!


thank you Alex.


On Mon, Dec 1, 2008 at 6:54 PM, Alex Fenton <alex at pressure.to> wrote:

> Fabio Petrucci wrote:
>
>> Ok i've found my way:
>>
>> Now my ComboBox consumes ENTER and TAB keys :)
>>
>> One more question:
>>
>> I use window#navigate() to simulate TAB.
>> calling it by default param is fine even if it doesn't reconize the
>> mapping constant Wx::NavigationKeyEvent::IsForward
>>
>> what about if i'd like to navigate backward?
>>
>> i supposed a constant like Wx::NavigationKeyEvent::IsBackward
>>
>> but i get an uninitialized constant
>> Wxruby2::Wx::NavigationKeyEvent::IsBackward
>>
>
> Try using the following values to indicate backwards and forwards to
> Window#navigate (never even knew about that method until today...)
>
> IsBackward = 0
> IsForward = 1
>
>
> alex
>
> _______________________________________________
> wxruby-users mailing list
> wxruby-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/wxruby-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/wxruby-users/attachments/20081201/193120a2/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 226 bytes
Desc: not available
URL: <http://rubyforge.org/pipermail/wxruby-users/attachments/20081201/193120a2/attachment.gif>


More information about the wxruby-users mailing list