Alpha Video Training
Results 1 to 5 of 5

Thread: Tab order in dialog

  1. #1
    Member
    Real Name
    Sparticuz
    Join Date
    Jun 2009
    Location
    Clearwater, FL
    Posts
    512

    Default Tab order in dialog

    Is there a way to set the tab order in a dialog? (More than just initial focus)

  2. #2
    "Certified" Alphaholic
    Real Name
    David Kates
    Join Date
    Apr 2008
    Location
    Unionville, ON
    Posts
    7,819

    Default Re: Tab order in dialog

    I don't see a property for it... and can't think of a property in the dialog to "piggy back" on to set it... but... in the Dialog's Client-Side onRenderComplete Event, you could lay out the whole tab order. I think I'd prefer to do it this way, instead of going after each control individually. You'd code something like this...

    Code:
    $('{dialog.ComponentName}.V.R1.TXTLOCATION').tabIndex = "1";
    $('{dialog.ComponentName}.V.R1.NBRLICENSE').tabIndex = "2";
    $('{dialog.ComponentName}.V.R1.CURRDATE').tabIndex = "3";

  3. #3
    Member
    Real Name
    Sparticuz
    Join Date
    Jun 2009
    Location
    Clearwater, FL
    Posts
    512

    Default Re: Tab order in dialog

    Great solution! (This is using the built-in alpha javascript library and not jquery, right?)

  4. #4
    "Certified" Alphaholic
    Real Name
    David Kates
    Join Date
    Apr 2008
    Location
    Unionville, ON
    Posts
    7,819

    Default Re: Tab order in dialog

    Yes... pure Javascript

  5. #5
    Member
    Real Name
    Sparticuz
    Join Date
    Jun 2009
    Location
    Clearwater, FL
    Posts
    512

    Default Re: Tab order in dialog

    Just an addition. Initial focus does need to be selected on item 1, else it won't start at 1.

Similar Threads

  1. Dialog -> Tab control -> Tab Pane -> Embedded Object: Dialog
    By pettechservices in forum Application Server Version 11 - Web/Browser Applications
    Replies: 7
    Last Post: 03-31-2013, 06:03 PM
  2. Random Tab Stops or Hit and Miss Tab Order
    By forskare in forum Alpha Five Version 10 - Desktop Applications
    Replies: 8
    Last Post: 06-18-2011, 04:50 PM
  3. Tab Order in Dialog
    By davej in forum Web Application Server v7
    Replies: 2
    Last Post: 05-15-2006, 12:23 PM
  4. Dialog box tab order
    By David Farr in forum Alpha Five Version 5
    Replies: 2
    Last Post: 11-05-2003, 10:44 AM
  5. Tab Order Out of Order
    By forskare in forum Alpha Five Version 5
    Replies: 7
    Last Post: 03-17-2003, 06:08 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
  •