Welcome to SPN

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

Sign Up Now!
  1.   Become a Supporter    ::   Make a Contribution   
    Target (Recurring Monthly): $200 :: Achieved: $98

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
     
Since you're here... we have a small favor to ask...

More people are visiting & reading SPN than ever but far fewer are paying to sustain it. Advertising revenues across the online media have fallen fast. So you can see why we need to ask for your help. Donating to SPN's is vote for free speech, for diversity of opinions, for the right of the people to stand up to religious bigotry. Without any affiliation to any organization, this constant struggle takes a lot of hard work to sustain as we entirely depend on the contributions of our esteemed writers/readers. We do it because we believe our perspective matters – because it might well be your perspective, too... Fund our efforts and together we can keep the world informed about the real Sikh Sikhi Sikhism. If everyone who writes or reads our content, who likes it, helps us to pay for it, our future would be much more secure. Every Contribution Matters, Contribute Generously!

    Become a Supporter      ::     Make a Contribution     



Share This Page