Well, yes there is a Wx::Notebook in the application.
In order to make Ctrl-TAB work I had to catch the keys with
EVT_KEY_UP( $self, \&on_key );

and then  the on_key subroutine checks it Ctrl-TAB was pressed
and calls on_next_pane.

Without the on_key function doing this, the Ctrl-TAB does not
do anything.

That is on Ubuntu. I think it works for you on Windows without the
on_key or the menu item.

Gabor


On Thu, Aug 28, 2008 at 3:13 PM, Octavian Rasnita <[EMAIL PROTECTED]> wrote:
> Ctrl+TAB and Ctrl-TAB work, but maybe you have a control in your app that
> stills this hotkey (like a Wx::Notebook for example).
>
> Octavian
>
> ----- Original Message ----- From: "Gabor Szabo" <[EMAIL PROTECTED]>
> To: "wxperlusers" <[email protected]>
> Sent: Thursday, August 28, 2008 12:08 PM
> Subject: Ctrl-TAB does not seem to work in menu
>
>
>> I have the following two menu entries:
>>
>>   EVT_MENU(
>>       $self,
>>       $menu->{view}->Append(-1, "Next File A\tCtrl-TAB"),
>>       \&on_next_pane,
>>   );
>>
>>   EVT_MENU(
>>       $self,
>>       $menu->{view}->Append(-1, "Next File B\tCtrl-R"),
>>       \&on_next_pane,
>>   );
>>
>> the only difference is the hot-key.
>> the Ctrl-R work the Ctrl-TAB does not work even though it is advertised
>> that it should in
>> http://docs.wxwidgets.org/2.6.3/wx_wxmenu.html#wxmenuappend
>>
>> Am I doing something wrong or is there a bug somewhere else?
>>
>>
>> Gabor
>
>

Reply via email to