Welcome to SPN

Register and Join the most happening forum of Sikh community & intellectuals from around the world.

Sign Up Now!

How do you disable a form?

Discussion in 'Information Technology' started by MartinR, Jul 28, 2006.

Tags:
  1. MartinR

    MartinR
    Expand Collapse
    Guest

    I'm in my main user interface form and i press a button to open a data
    entry form. What setting do i use to make sure that the user can only
    click buttons on the new form. I.e. i want to make sure the user does
    not press the form in the background. Is there a way of disabling the
    form in the background and just letting the form in the foreground be
    edited?

    Anyone any ideas,thanks
     
  2. Loading...

    Similar Threads Forum Date
    Canada Disabled Pickering Boy, Mugged and Bullied, Takes His Own Life Breaking News Sep 29, 2011
    Legal Pay equal relief to disabled, normal victims in accident: Court Breaking News Jul 20, 2010
    General Disabled people & Reht Maryada Hard Talk Mar 19, 2010
    Sikh Rehat Marayada and the Treatment of Disabled Persons Hard Talk Jun 12, 2005
    Opinion Definition of Diety, Human Form, God and Waheguru Sikh Sikhi Sikhism Feb 1, 2016

  3. Rick Brandt

    Rick Brandt
    Expand Collapse
    Guest

    "MartinR" <martin.ryan@esbi.ie> wrote in message
    news:1152183692.678193.64200@a14g2000cwb.googlegroups.com...
    > I'm in my main user interface form and i press a button to open a data
    > entry form. What setting do i use to make sure that the user can only
    > click buttons on the new form. I.e. i want to make sure the user does
    > not press the form in the background. Is there a way of disabling the
    > form in the background and just letting the form in the foreground be
    > edited?
    >
    > Anyone any ideas,thanks


    If you set the Modal property of the second form to Yes then they will not be
    able to put focus on any other object until that form is closed. An alternative
    is to use the acDialog argument when opening the form with your code.

    --
    Rick Brandt, Microsoft Access MVP
    Email (as appropriate) to...
    RBrandt at Hunter dot com
     
  4. MartinR

    MartinR
    Expand Collapse
    Guest

    That worked perfect, thank you
     

Share This Page