Options

missed keystrokes

clocxclocx Member Posts: 12
It seems that the 'Delete' key is not always handled.
Some of my objects seem to miss the "Delete" key when I enter this key in a rapid sequence.
I tried this on standard Navision objects and experienced that this also happens for these objects.
For example when I run the Item table and go to the field "Vendor No." of the first item record and repeat the following key-sequence 'Del' - 'Arrow Down'- 'Del' - 'Arrow Down' - etc. only some values are cleared.
When I use the spacebar it works OK.

Is this a known bug in Navision?

Thank you for your help.

Comments

  • Options
    eromeineromein Member Posts: 589
    I think you are just a little to fast for Navision or your pc / notebook.

    Try doing it in slowmotion, along with the slowmotion sounds people make when they talk.

    Maybe you should practice slowmotion first to be sure you are doinf it right. I recommend shopping in slowmotion... It's great fun, I do it all the time!
    "Real programmers don't comment their code.
    If it was hard to write, it should be hard to understand."
  • Options
    NaviTools.comNaviTools.com Member Posts: 88
    Try 'Edit, Replace' or 'Ctrl+H'. It can save some time :wink:
    http://www.NaviTools.com
    Documentation for Microsoft Navision
    E/R diagrams, Workflow diagrams, UML diagrams, process diagrams
  • Options
    clocxclocx Member Posts: 12
    Thanks,

    But I have a work-around.
    I thought I made an error in my object, but I was surprised
    that the problem occurred also in standard objects.
    I looks like the DEL-key is handled before the text in the edit-box
    is selected and therefore has no effect. When you type the keys slowly the text is selected and cleared by the DEL-key.
    Clearing the fields using a space or 0 (depending of type) works always.
    That is what I don't understand.
  • Options
    NaviTools.comNaviTools.com Member Posts: 88
    Clearing with space works because it happens after field gets focus and at that time the text is already selected.
    http://www.NaviTools.com
    Documentation for Microsoft Navision
    E/R diagrams, Workflow diagrams, UML diagrams, process diagrams
  • Options
    clocxclocx Member Posts: 12
    You are right,

    It looks like Navision does some optimizing after a field gets focus.
    When a field gets focus and the next key in the input-buffer results in an navigation action, leaving the currentfield, a lot of actions can be skipped.
    In 'Pseudo'-code something like this:

    Peek InputBuffer
    If NextKey is Special-Key (like arrow-keys etc.)
    {
    --
    }
    else
    {
    SelectText;
    ReadKey;
    --
    }

    If I'm correct with this assumption calling the DEL-key a special key in this context is erroneous.
Sign In or Register to comment.