Alpha Video Training
Results 1 to 2 of 2

Thread: prevent tab key jump from last page to first page(tabbed object) on the form

  1. #1
    Member
    Real Name
    Romy Huang
    Join Date
    Dec 2004
    Posts
    303

    Default prevent tab key jump from last page to first page(tabbed object) on the form

    sometime when I change data on the form(runtime version), maybe I press the "tab key" so quickly. The form is jump from last page to first page. All my restrict setting for the form is change. How to prevent the "tab key" to jump from last page to first page. Thank in advance.

    Romy
    :) Romy

  2. #2
    "Certified" Alphaholic
    Real Name
    Tom Cone Jr
    Join Date
    Apr 2000
    Location
    Florida
    Posts
    23,300

    Default

    I am not sure I understand the problem you are describing, but if you want to keep the focus entirely on a single page of the tabbed object do this:

    a) add a text field object to the page, and assign a harmless throwaway variable to it.
    b) set the tab order so that new field object is last on that page
    c) in the onArrive event for the new field object write a one line script that activates the field you you want to receive focus next, (often the first field in tab order on that page)

    At this point when the user tabs through the next to last object focus shifts to the new field object (because it's next in tab order), the OnArrive event fires, and Alpha Five immediately shifts focus again to a different field object on the page. When this is set up correctly the user can press the tab key repeatedly and watch focus step through all the fields in a repeating cycle without ever leaving the tab page. See?

    Now, to make this transparent to the user change the color properties of the new field object so that it is the same color as the background.

    -- t

Similar Threads

  1. prevent enter new for next page button of toolbar
    By Romy Huang in forum Alpha Five Version 5
    Replies: 3
    Last Post: 01-28-2005, 12:48 PM
  2. Jump to end of page on long forms
    By Marc King - A5solutions in forum Alpha Five Version 6
    Replies: 10
    Last Post: 12-01-2004, 03:11 AM
  3. page up/down key not working in form mode
    By Larry Ternowski in forum Alpha Five Version 5
    Replies: 6
    Last Post: 05-12-2003, 06:23 PM
  4. Tabbed Object Property to center the text on a tab
    By videomuger in forum Alpha Five Version 5
    Replies: 3
    Last Post: 04-03-2003, 08:58 AM
  5. Password a Tabbed page
    By Tom Patten in forum Alpha Five Version 4
    Replies: 4
    Last Post: 09-09-2001, 01:58 PM

Bookmarks

Posting Permissions

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