INSERT KeyMap (all browsers)

  1. #1

    INSERT KeyMap (all browsers)

    Hi,

    I'm using some keymaps to do certain actions. But some INSERT key isn't detected, why?

    Here's my example key maps.

    <ext:KeyMap ID="keyNuevo" runat="server" Target="={Ext.isGecko ? Ext.getDoc() : Ext.getBody()}">
        <ext:KeyBinding Ctrl="true" StopEvent="true">
            <Keys>
                <ext:Key Code=INSERT" />
            </Keys>
            <Listeners>
                <Event Handler="alert('insert');" />
            </Listeners>
        </ext:KeyBinding>
    </ext:KeyMap>
    <ext:KeyMap ID="keyEditar" runat="server" Target="={Ext.isGecko ? Ext.getDoc() : Ext.getBody()}">
        <ext:KeyBinding Ctrl="true" StopEvent="true">
            <Keys>
                <ext:Key Code="A" />
            </Keys>
            <Listeners>
                <Event Handler="alert('edit');/>
            </Listeners>
        </ext:KeyBinding>
    </ext:KeyMap>
    I try it, without Control pressed but occurs the same.

    It has a solution, beside changing the keymap?
  2. #2
    Hi,

    I have tested your code and it appears to be working fine - handlers are executed.

    Could you provide more details? Full sample code and exact steps would be the best.

Similar Threads

  1. [CLOSED] Supported browsers prompt message
    By bakardi in forum 1.x Premium Help
    Replies: 5
    Last Post: Jan 27, 2015, 6:04 AM
  2. Replies: 3
    Last Post: Jul 06, 2011, 11:32 PM
  3. [CLOSED] display difference between browsers
    By Stefanaccio in forum 1.x Premium Help
    Replies: 5
    Last Post: Dec 29, 2010, 6:43 AM
  4. [CLOSED] [1.0] Officially supported browsers
    By jmcantrell in forum 1.x Premium Help
    Replies: 3
    Last Post: Sep 22, 2010, 12:55 PM
  5. [CLOSED] Hidden tab in IE7, but visible in other browsers
    By juanpablo.belli@huddle.com.ar in forum 1.x Premium Help
    Replies: 5
    Last Post: Mar 18, 2009, 1:32 PM

Tags for this Thread

Posting Permissions