Showing results 1 to 5 of 5

Thread: Tab navigation issues

  1. #1
    Join Date
    17.03.2016
    Posts
    62

    Default Tab navigation issues

    Hi,

    I've been trying to get text box tab navigation working as per this thread: https://forum.copadata.com/showthrea...-with-tab-key/

    When calling my screen, I run a script to set focus on the element & allow input which works ok, I have set the order for 'down' correctly etc and I've created an invisible button which runs a script to move the focus 'down'. I have also set the invisible button to use the TAB key.

    Now the issue is that if I press TAB nothing happens.... If I click on the invisible button the focus moves to the next element exactly as I want.

    Am I missing something else to make the keyboard input work correctly? I tried to look at the example in the old thread, but it wouldnt load in to 7.50 as it was designed for an older SQL version.

    Thanks.
    Dave

  2. #2
    Join Date
    09.03.2011
    Posts
    44
    Best Answer

    Default Re: Tab navigation issues

    Hi Dave,


    I do not know what can be missing in your project, but you must have in mind that the behavior is slightly different with the button and the Tab.

    With the button, the focus jumps directly to the following element. With the Tab, first you have to click Enter and then you click Tab, if not, the focus will not be moved to the following element.

    Attached you can find a 7.50 project which follows the explanations of the thread that you referred to.


    Best regards,
    Steffi
    Attached Files Attached Files

  3. #3
    Join Date
    15.11.2016
    Posts
    108

    Default Re: Tab navigation issues

    Hi Dave,

    If the Button does not trigger on the TAB input, the issue should be there.
    Make sure that the TAB input is set correctly:
    - Assign a key to the invisible button (Properties -> Runtime -> key combination)

    BR,
    Georg
    Last edited by georgk : 14th February 2017 at 17:35

  4. #4
    Join Date
    17.03.2016
    Posts
    62

    Default Re: Tab navigation issues

    Steffi,

    thanks for uploading this example... I can see in the example that it does work (although you must press enter first before tab will move to the next box).

    As far as I can see I have set everything up the same as in the example.. however when inputting my values the TAB key still does not move it down. If I press ENTER after typing it doesnt input the values in the same way in my project as it does in the example, so I think I must be missing something here.

    Georg,
    Yes I have set the Runtime > Key combination for the invisible button to TAB but it doesnt seem to respond to the TAB key at all.


    Are there any ohther settings realating to keyboard input elsewhere in the project settings I may be missing?

  5. #5
    Join Date
    17.03.2016
    Posts
    62

    Default Re: Tab navigation issues

    Ok, I seem to have this working as per the example, which is ok.

    The issue seemed to be with my actual username / password text objects. To make it work as per the example I had to untick the 'write on lost focus' box. This means that you must press enter to submit the text, and then the tab button will work.

    It is shame that still does not work the way most users will expect... i.e. you should be able to type, press tab to move to the next box, press tab to move over the 'login' button & then press enter to have it log in.

    Ideally from an ergonomics point of view it would be nice to have this sort of function 'just work' in the way most users would expect without having to explain thats for our HMI it works a little differently, however at least you no longer have to use the mouse to click between each field.

Similar Threads

  1. Redundancy issues
    By k_r_mehta in forum zenon Network
    Replies: 5
    Last Post: 29th August 2013, 05:12
  2. Tab Control
    By anahita in forum VBA
    Replies: 2
    Last Post: 20th September 2011, 22:49
  3. Coloring Entries in Object List of WorldView Navigation
    By shikra in forum zenon Service Engine Supervisor
    Replies: 1
    Last Post: 14th July 2011, 06:37
  4. Login navigation
    By alex1982 in forum zenon Service Engine Supervisor
    Replies: 3
    Last Post: 4th April 2011, 15:58
  5. Textbox navigation with tab key
    By gralex in forum zenon Service Engine Supervisor
    Replies: 14
    Last Post: 6th April 2010, 11:17

Posting Rules

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •