Alpha Video Training
Results 1 to 4 of 4

Thread: Tabbed Subform

  1. #1
    "Certified" Alphaholic Tom Henkel's Avatar
    Real Name
    Tom Henkel
    Join Date
    May 2002
    Location
    New Jersey, USA
    Posts
    1,877

    Default Tabbed Subform

    We have a situation here where we have a form which contains a tabbed subform. There are 5 or six tabs. We are trying to find a way to prevent the user from tabbing to the next tab in the subform in certain circumstances. So far, we have been unable to stop the tabbing. Does anyone have a surefire method to disallow the tabbing through to the next tabbed item in the subform?

    Tom

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

    Default RE: Tabbed Subform

    Why not put a hidden object on each page? Place it last in tab order for the objects on that page. Use the OnArrive event to run your validation script and shift focus accordingly.

    -- tom

  3. #3
    "Certified" Alphaholic Tom Henkel's Avatar
    Real Name
    Tom Henkel
    Join Date
    May 2002
    Location
    New Jersey, USA
    Posts
    1,877

    Default RE: Tabbed Subform

    Steve came by and helped us with our condition statement, and we just put a cancel into the "if" statement, and all is OK now.

    We were trying to be too tricky. We were testing and setting the A_CAN_DO variable, and it seems to have gotten us into more trouble than help.

    Our "IF" statement is in the "can Tab" event, and when the condition is not met, we just cancel, and the tab never fires.

    Tom

  4. #4
    Volunteer Moderator Peter.Greulich's Avatar
    Real Name
    Peter Greulich
    Join Date
    Apr 2000
    Location
    Boston, MA
    Posts
    11,649

    Default RE: Tabbed Subform

    This code "works", but the tab heading does not update.
    [b]
    ''OnTabChange Event:

    IF tabbed1.tab_get() = 2
    tabbed1.tab_set(1)
    sys_send_keys("{tab}")
    END IF

Similar Threads

  1. Tabbed Subform & Browse
    By ChrisHawkes in forum Alpha Five Version 5
    Replies: 5
    Last Post: 05-02-2005, 10:07 AM
  2. checkbox in tabbed subform
    By Alan Henson in forum Alpha Five Version 6
    Replies: 4
    Last Post: 10-25-2004, 01:07 AM
  3. tabbed subform restrictions
    By dik_coleman in forum Alpha Five Version 5
    Replies: 6
    Last Post: 07-19-2004, 09:35 PM
  4. Tabbed Subform
    By Mortie in forum Alpha Five Version 5
    Replies: 5
    Last Post: 03-30-2003, 08:49 AM
  5. Frozen tabbed subform
    By Greg Fong in forum Alpha Five Version 4
    Replies: 2
    Last Post: 06-26-2001, 10:09 AM

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
  •