Key others

In some circumstances I want to disable the F10 functionality, but not by using KEY-F10 trigger. Does somebody know how to achieve this

Hi
If I got you right, you should use the KEY-COMMIT trigger, as the F10 key is [usually] mapped to that function.
hth

Similar Messages

  • Difference between Unique key and Primary key(other than normal difference)

    Hello,
    1).Can any one tell me any other difference between Unique key and Primary key other than it having NULLs.
    2). What is the difference the words 'DISTINCT' and 'UNIQUE' in a sql query.
    Thanks in advance.

    Hi
    If you don't believe me than see the documentation in
    OTN.
    Ott Karesz
    http://www.trendo-kft.hu
    SQL> create table scott.tbl_clob
      2  (sss CLOB)
      3  /
    Tabelle wurde angelegt.
    SQL> insert into scott.tbl_clob values('wrwrwrw')
      2  /
    1 Zeile wurde erstellt.
    SQL> insert into scott.tbl_clob values('wrwrwrw')
      2  /
    1 Zeile wurde erstellt.
    SQL> select distinct sss from scott.tbl_clob
      2  /
    select distinct sss from scott.tbl_clob
    FEHLER in Zeile 1:
    ORA-00932: nicht übereinstimmende Datentypen
    SQL> select unique sss from scott.tbl_clob
      2  /
    select unique sss from scott.tbl_clob
    FEHLER in Zeile 1:
    ORA-00932: nicht übereinstimmende Datentypen
    SQL> select distinct to_char(sss) from scott.tbl_clob
      2  /
    TO_CHAR(SSS)
    wrwrwrw
    SQL> select unique to_char(sss) from scott.tbl_clob
      2  /
    TO_CHAR(SSS)
    wrwrwrw
    SQL>

  • Use of KEY-OTHERS trigger

    Hi,
    I have a form that has numerous triggers defined at the form level. The form has a block that appears in a dialog window. The block should only have a small subset of triggers that are defined at the form level. I went ahead and created the key triggers necessary at the block level; I also defined a key-others trigger defined as null on the block to disable all other key triggers defined at the form level???. However it's not working, key triggers at the form level are still firing. Is the key-others trigger suppose to suppress triggers at a lower level or do I have to specifically deactivate all the key triggers at the block level?
    Thanks for you help in advance

    Key-Others at the block level will only override a form-level Key-Others. It will not override any other form-level triggers.
    You must either override all the form-level triggers at the block level, or add code to the beginning of each form-level trigger such as:
    If :System.trigger_block = 'MY_SPECIAL_BLOCK' then
      Return;  -- exit if in the special block
    End if;

  • KEY-OTHERS trigger.

    i am using 9i Developer Suite. I have a doubt as to how to select a KEY-OTHERS trigger at the form level as i have seen in the code of some forms given to me designed by other people. It does not show while creating a trigger.
    I hope, my question is clear. Please help in solving the doubt.
    Regards.

    Hello,
    KEY-OTHERS is used to intercept all keyboard event triggers you don't want to have effect.
    generally, you put a single NULL; instruction in it.
    Francois

  • Key-Others Trigger (Please help!!!)

    Hi everybody,
    We are trying to restrict the end user from pressing some
    'dangerous' keys, i.e clear block, execute query, even the DOWN
    key causes us problems in some (1 record) blocks.
    I know there is a way to do it using Oracle terminal but it
    seems that we need greater degree of flexibility.
    I certainly don't want to go to every <KEY> trigger on every
    form (block) and put null; statements there. I know from Oracle
    Docs that I'm supposed to use the key-others trigger..
    So here are my questions:
    1.Is there any way to find out which key has been pressed?
    2.Can someone post a sample code of a KEY-OTHERS triggers?
    3.Is there another way to achieve what we need?
    Thanks is advance for any help.
    Mike
    null

    You have two options.
    1) Turn off all keys not wanted. This is what you said
    you did not want to do.
    2) Tun on all keys you want to use by creating a trigger for
    each key. i.e.
    trigger KEY-NXTREC trigger KEY-UP
    NEXT_RECORD; UP;
    Then turn off all keys not explicitly turned on.
    trigger KEY-OTHERS
    NULL;
    ET (guest) wrote:
    : Hope that it may be helpful.
    : Answer :
    : 1. In command line, add debug option so that you may know what
    : trigger is executing.
    : e.g. runform module= userid= debug=yes
    : 2. Sample code for Key-others trigger
    : null;
    : Rgds,
    : ET
    : Mike Braude (guest) wrote:
    : : Hi everybody,
    : : We are trying to restrict the end user from pressing some
    : : 'dangerous' keys, i.e clear block, execute query, even the
    : DOWN
    : : key causes us problems in some (1 record) blocks.
    : : I know there is a way to do it using Oracle terminal but it
    : : seems that we need greater degree of flexibility.
    : : I certainly don't want to go to every <KEY> trigger on every
    : : form (block) and put null; statements there. I know from
    : Oracle
    : : Docs that I'm supposed to use the key-others trigger..
    : : So here are my questions:
    : : 1.Is there any way to find out which key has been pressed?
    : : 2.Can someone post a sample code of a KEY-OTHERS triggers?
    : : 3.Is there another way to achieve what we need?
    : : Thanks is advance for any help.
    : : Mike
    null

  • Can you pre key other colours in final cut express not just black?

    hey there i make little movies with muzzle flashes and stuff.
    i was wondering if you can pre key fpptage thats not just a black background?
    so if you can take purple or green backgrounds out not just black!
    if you dont understand what i mean reply saying so.
    please reply ive wanted to know for a verry long time.

    Yes, use Chroma Key:
    http://www.youtube.com/watch?v=9FCOMgcPMMY
    MtD

  • Bug report: Fn+Delete and Fn+Up/Dn keys don't work in SR MacBook Boot Camp

    Fn + Delete does NOT do a forward delete in Boot Camp as its supposed to do on my Windows XP Home SP2 running installed on a new Santa Rosa 2.2GHz MacBook. Neither does Fn + Up/Down do PgUp/Dn, but Fn + Return DOES do Insert, so this isn't a bad Fn key.
    This bug appears to be related to the new SR MacBook release. Two other SR MB owners besides me have reported this problem at:
    http://forums.macrumors.com/showthread.php?p=4508558
    Has anyone else had positive or negative experiences using Fn + Delete on Santa Rosa MacBooks in Boot Camp?

    Actually I didn't trash Boot Camp, it never populated in the tray after the install. Moreover, the thing i destroyed was the MacHDD from the desktop and from the Go Finder listing and want to get that puppy back
    Boot Camp is running just that the F keys other than F3 are not functional nor is the Eject key . . PLUS . . as I say there is no tap to click, not two finger scrolling, and no 3 or 4 finger functions operational features.
    Please help!

  • Fn Keys and Eject Keys Don't Work in Windows

    I'm fairly good to go with Snow Leopard and Boot Camp and on installing Windows on my wife's 13" MacBook Pro that I finally convinced her to get, I had a "hard drive not big enough" during the SP3 update BUT found a solution for that, however, all the threads I read on the above topic related to Boot Camp versions of the 2.x genre and I have 3.x genre. So, does anyone have any ideas how to fix this on the Windows side?
    - All function keys (excepted F3) are non-functional.
    - Eject key does not work
    - No right click of any kind other than with a mouse
    - No scroll features
    - No Boot Camp icon in the tray
    Lastly (and just an add in) on the OSX side, her Mac HD icon was not there since the Boot Camp assistant was launched AND dummy me (I did this once before - I know idiot) tried to drag it from Finder to the desk top and exploded it. So, how do I get the Mac HDD and icon back in both Finder AND the Desktop.
    Thanks in advance for those who have an offering.

    Actually I didn't trash Boot Camp, it never populated in the tray after the install. Moreover, the thing i destroyed was the MacHDD from the desktop and from the Go Finder listing and want to get that puppy back
    Boot Camp is running just that the F keys other than F3 are not functional nor is the Eject key . . PLUS . . as I say there is no tap to click, not two finger scrolling, and no 3 or 4 finger functions operational features.
    Please help!

  • Capturing Key Press in Oracle Forms 6.0.5

    help! I have to setup forms so that our users can initiate the EDITOR if they hit cntl + E, with the caps lock on...like a capital E. This triggers the on-error event. the key-edit and key-others events dont fire with cntl + E. so i need an event to capture it and also how do you captures keypresses in code, i cant find it anywhere.

    I wouldn't have thought there was anything to stop you using capitals in the key mapping definition. You should be able to define ctrl E to do the same as ctrl e.
    The problem is you have to use oracle*terminal to define it on client/server.
    You can define functions for alphabetic characters combined with a modifier key such as control. You cannot use alphabetic characters on their own as that would conflict with their use for normal typing.

  • F2 key not working with custom JTable Column

    I have a custom JTable Column (which is a JPanel with a JTextfield and JButton). Everything works as expected, except when the user presses "F2" to start editing the custom column cell. When the user presses F2, the custom cell goes into editing mode, but I am unable to type anything in it.
    Below is the SSCCE.
    Steps to Reproduce problem:
    1) Run the Program
    2) Select any cell in first Column.
    3) Press "F2" and try to type into the cell. Can't type anything.
    package com.ns;
    import java.awt.BorderLayout;
    import java.awt.Component;
    import java.awt.Dimension;
    import java.awt.Point;
    import java.awt.Toolkit;
    import java.awt.event.ActionEvent;
    import java.awt.event.KeyEvent;
    import java.util.EventObject;
    import javax.swing.DefaultCellEditor;
    import javax.swing.JButton;
    import javax.swing.JOptionPane;
    import javax.swing.JPanel;
    import javax.swing.JScrollPane;
    import javax.swing.JTable;
    import javax.swing.JTextField;
    import javax.swing.SwingUtilities;
    import javax.swing.UIManager;
    import javax.swing.WindowConstants;
    import javax.swing.table.DefaultTableModel;
    import javax.swing.table.TableCellRenderer;
    public class TextButtonCellFrame extends javax.swing.JFrame {
        // Variables declaration - do not modify                    
        private JTextField inputText;
        private JScrollPane jScrollPane1;
        private JPanel testPanel;
        private JTable testTable;
        // End of variables declaration                  
        public TextButtonCellFrame() {
            initComponents();
        @SuppressWarnings("unchecked")
        // <editor-fold defaultstate="collapsed" desc="Generated Code">                         
        private void initComponents() {
            testPanel = new JPanel();
            jScrollPane1 = new JScrollPane();
            testTable = new JTable();
            inputText = new JTextField();
            setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
            testTable.setModel(new DefaultTableModel(
                new Object [][] {
                    {null, null, null, null},
                    {null, null, null, null},
                    {null, null, null, null},
                    {null, null, null, null}
                new String [] {
                    "Title 1", "Title 2", "Title 3", "Title 4"
            testTable.setCellSelectionEnabled(true);
            testTable.setRowHeight(52);
            testTable.setSurrendersFocusOnKeystroke(true);
            testTable.getColumnModel().getColumn(0).setCellRenderer(new MyTableCellRenderer());
            testTable.getColumnModel().getColumn(0).setCellEditor(new MyTableCellEditor(new JTextField()));
            testTable.getColumnModel().getColumn(0).setPreferredWidth(200);
            jScrollPane1.setViewportView(testTable);
            testPanel.add(jScrollPane1);
            inputText.setPreferredSize(new Dimension(50, 20));
            testPanel.add(inputText);
            getContentPane().add(testPanel, BorderLayout.CENTER);
            Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
            setBounds((screenSize.width-576)/2, (screenSize.height-417)/2, 576, 417);
        }// </editor-fold>                       
        public static void main(String args[]) {
            java.awt.EventQueue.invokeLater(new Runnable() {
                public void run() {
                    new TextButtonCellFrame().setVisible(true);
        public class MyTableCellRenderer extends JPanel implements TableCellRenderer {
            Point point;
            JButton button1 = new JButton("Test 1");
            JTextField txtField = new JTextField();
            public MyTableCellRenderer() {
                setLayout(new BorderLayout());
                this.add(button1, BorderLayout.EAST);
                this.add(txtField,BorderLayout.CENTER);
            public Component getTableCellRendererComponent(JTable table, Object value,
                    boolean isSelected, boolean hasFocus, int rowIndex, int vColIndex) {
                if (isSelected) {
                    txtField.setBackground(testTable.getSelectionBackground());
                    txtField.setBorder(UIManager.getBorder("Table.focusCellHighlightBorder"));
                else {
                    txtField.setBackground(testTable.getBackground());
                    txtField.setBorder(null);
                return this;
        public class MyTableCellEditor extends DefaultCellEditor {
            JPanel panel = new JPanel();
            JButton button1 = new JButton ("Test 1");
            JTextField txtField;
            MyTableCellEditor(JTextField txtField) {
                super (txtField);
                this.txtField = txtField;
                panel.setLayout(new BorderLayout());
                panel.add(button1, BorderLayout.EAST);
                panel.add(txtField,BorderLayout.CENTER);
            public void actionPerformed(ActionEvent e) {
                if (e.getSource() == button1)
                    JOptionPane.showMessageDialog(null, "Action One Successful");
            public Component getTableCellEditorComponent(JTable table, Object value,
                                        boolean isSelected, int row, int column) {
                return panel;
           public boolean isCellEditable(final EventObject anEvent) {
              if (anEvent instanceof KeyEvent) {
                 final KeyEvent keyEvent = (KeyEvent) anEvent;
                 SwingUtilities.invokeLater(new Runnable() {
                    public void run() {
                       if (!Character.isIdentifierIgnorable(keyEvent.getKeyChar())) {
                          txtField.setText(txtField.getText() + keyEvent.getKeyChar());
                       txtField.setCaretPosition(txtField.getText().length());
                       txtField.requestFocusInWindow();
                return super.isCellEditable(anEvent);
    }The code for isCellEditable(final EventObject anEvent) which is needed to edit the cell using keyboard was provided by DarrylBurke here
    regards,
    nirvan.

    The F2 key when pressed generates an action event (either JTable generates it or some other component). I am not sure how to handle the action event in the isCellEditable() method. Also, F(X) range of keys other than F2 dump some junk character in the JTextfield when pressed. I am now stuck at this point and don't know how handle F(X) range of keys.
    regards,
    nirvan.

  • Lose of focus (mouse click/enter key)

    Hello,
    we have a problem customers are complaining about for quite a while now, but despite our efforts, we can not fix it or at least determine with certainty the problem cause.
    We have an application launching forms apps, and from time-to-time we completely lose the focus on this form (generally after typing ENTER in a filter), I mean by focus, we cannot click anymore (cursor seems to stay on a object), we cannot press enter anymore (we get a 'Not defined key function') and so on...
    I heard somewhere that it could be due to 'KEY-OTHERS' trigger not handling correctly the ENTER-KEY. But I need this trigger for my filters, or is there another way? KEY_ENTER does only navigate from field to another.
    I found something which was able to remove focus lost (kind of a hack while trying to fix this on an on), but the problem is I had to remove this, because it blocks the opening of new windows or popups. It was a mouse-click trigger on forms triggers level:
    Go_Record(:System.Mouse_record);
    Go_Item(:System.Mouse_Item);
    But this blocks any window opening, and it also blocks some other tools we have developed.
    Thanks,
    Best regards,
    G.
    EDIT: Forms 11g, and I am pretty sure we had not that much problems with 10g
    EDIT2: I read the same kind of topics in the forum, but no patch seems to help
    AND we use JRE 1.7....
    Edited by: lakers on Jan 14, 2013 11:56 PM
    Edited by: lakers on Jan 14, 2013 11:59 PM

    this problem occurs with some of versions of JRE. Try with JRE JInitiator 1.3.1.22. Also unstalled all others JRE if exists.
    A file called fmrpcweb.res has also been provided which gives the Microsoft Windows client/server keyboard mappings. To use this file, rename fmrpcweb.res to fmrweb_orig.res, and copy fmrpcweb.res to fmrweb.res. Alternatively, use the term parameter as described above.
    By default, whether deploying client/server or over the Web pressing the ENTER key takes the cursor to the next navigable item in the block. To override this default behavior it is necessary to modify the forms resource file to revise the key mapping details.
    Modify fmrweb.res and change the Forms Function Number (FFN) from 27 to 75 for the Return Key. The line should be changed to the following:
    10 : 0 : "Return" : 75 : "Return"
    By default, the line is displayed with an FFN of 27 and looks as follows:
    10 : 0 : "Return" : 27 : "Return"
    This line should NOT fire the Key-Enter trigger since the Return or Enter key is actually returning the Return function represented by the FFN of 27. The FFN of 75 represents the Enter function and fires the Key-Enter trigger.
    http://docs.oracle.com/cd/E24269_01/doc.11120/e24477/configure.htm#i1077054
    please mark correct/helpful if problem is solved..
    Edited by: Askdineshsinghminhas on Jan 15, 2013 5:28 AM

  • Pressing keys makes multiple characters after being taken apart

    gonna make this short and sweet since im using on screen keyboard
    spilled water on laptop
    took apart laptop all the way down to motherboard 
    let everything dry off and put it back together
    computer works but when i press certain keys other characters pop up
    this is what it looks like when i type
    hel9l9oi everyone my na1me is2 nick8 i l9ik8e to pl9a1y guita1r a1nd3 l9is2ten to mus2ic a1nd3 my f4a1vorite f4ooid3 its2 pizza1 :<
    im gonna press all number keys from 1 to 0
    a1 s2 d3 f4 5 6 j7 k8 l9 ;0
    if i hold the 1 key i get this 
    a11111111111
    if i hold the a key i get this
    a111111111111111111
    same thing..
    my enter key is also the down arrow. 
    please help :/

    You have to replace the keyboard. The remaining water is causing shorts and your keyboard is not functioning properly. The replacement is easy but requires manual skills. There are plenty of tutorials on how to disaccemble a computer to replace keyboard.

  • Certain keys on midi keyboard no longer seem to be recognized -

    Hi all,
    I've done my best to read through all the existing posts on similar topics but haven't been able to solve this seemingly odd but probably simple issue. I'm at the end of my wits, hope someone can help!
    I have been using an M-Audio Axiom 25 with Logic Pro 8.0.2 on a MacBook Pro for about a year with no problems. Yesterday, a large portion of the keys on the Axiom stopped working. The highest two notes on the keyboard register in the transport as C3 and B2, which I can also hear, but no other keys seem to generate input/output. However, the trigger pads on the Axiom generate other notes (their default assignments) normally.
    In the "clicks and ports" page, the onscreen keyboard registers every note I click with the mouse, but still nothing from keys other than the two I mentioned above. I'd like to say everything looks normal in this window, but I haven't used it enough to know for sure.
    It doesn't seem to be project-specific as it happens even in new projects. Also, I've shut down Logic and opened Garage Band and the keyboard exhibits the same abnormal behavior there.
    In preferences ->MIDI -> general, I've clicked "reset all midi drivers" with no change. Logic seems to "see" the M-Audio device, they're just not playing nicely. Just for kicks, tried a different cord - not that either. Also, in Audio Midi Setup, I deleted the Axiom 25, shut down Logic, plugged the Axiom back in, but nothing changed. Logic still recognizes the Axiom but only those two keys (and the pads) work. In "show info", the "device is online" is checked but also greyed out.
    I'd like to think that I've accidentally changed a setting, etc, but can't figure it out! I'd be supremely grateful for any help you can give. What can I look at next?
    Thanks!
    - Nate

    Hey, thanks for responding.
    I did as you suggested and checked out the Controller Assignments window. There were a few things assigned, but I clicked delete and now there is a message that reads "no assignments selected". Sadly, that did not change the situation and still only those last two keys (and on the on-board pads) register input in the transport.
    Any other ideas? I'll try them! When this happened, I was on a roll that I'm looking forward to getting back to.
    The only other thing I can think of to try right now is to try the controller with a different computer.
    Thanks again, I appreciate your help!

  • Unique and primary key

    column with unique constraint + not null constraint = primary key! (to some extent) Is it correct?
    I invite your ideas

    http://www.techonthenet.com/oracle/unique.php
    http://www.allapplabs.com/interview_questions/db_interview_questions.htm#q13
    Difference between Unique key and Primary key(other than normal difference)

  • Where can I find the user key precedence hierarchy for each record type?

    Example: I want to update contact records through the CRMOD web service API.
    So I'm looking at the "Oracle Web Services On Demand Guide, Version 6.0 (released August 2010)", page 316, and it lists 3 user keys for Contact.wsdl v2.0 in the following order:
    1. FirstName and LastName
    2. Id
    3. ExternalSystemId
    From what I can see, this order does not seem to reflect the precedence hierarchy of these 3 user keys.
    I've send in a test update where I supplied a FN, LN, and EUID, ... and the contact that matched the EUID got updated.
    (I'm glad it did, because EUID really needs to take precedence over FN+LN, otherwise you could never change a contact's last name without knowing the contact's Row Id.)
    Does anyone know where I can find the precedence hierarchy for each record type's user keys (other than doing the obvious and time consuming "try+error")?

    Hi,
    we experienced similar problems with the account object and asked the oracle support about this. This was their answer:
    "[...] thank you for contacting CRM On Demand Customer Care. Regarding your question, please note the below: when perfoming a query, the user key fields are looked for in this order: - Row id - External System Id - AccountName and Location. Basically, the search will be performed by AccountName and Location only when the other fields are missing. This is an expected behavior because, the Row Id is the strongest filter as it is always unique. The external system Id comes second, as it is supposed to be unique in another system."
    So, I guess the order is always
    1) Row Id
    2) External System Id
    3) specific field combinations...
    kind regards
    Kai
    Edited by: Kai Hartmann on 28.04.2011 07:10

Maybe you are looking for