Results 1 to 4 of 4
  1. #1
    4 Star Lounger
    Join Date
    Jun 2001
    Posts
    531
    Thanks
    0
    Thanked 0 Times in 0 Posts

    what property looks to see if some other form is o (97)

    I want to code so that the click of a button won

  2. #2
    Plutonium Lounger
    Join Date
    Dec 2000
    Location
    Sacramento, California, USA
    Posts
    16,775
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: what property looks to see if some other form is o (97)

    What application are you working in? Which button are you trying to disable or alter? The simplest way is to make the form modal so that the user can't click a button or menu item outside the form until they close the form.
    Charlotte

  3. #3
    4 Star Lounger
    Join Date
    Jun 2001
    Posts
    531
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: what property looks to see if some other form is o (97)

    using access97 & it's basically a switchboard w/buttons on it. the swtichboard opens 2 forms & only 1 of these forms can be open at one time, not both. that's what i'm trying to achieve in vba unless there's some better solution, i don't think modal applies does it?

  4. #4
    Plutonium Lounger
    Join Date
    Dec 2000
    Location
    Sacramento, California, USA
    Posts
    16,775
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: what property looks to see if some other form is o (97)

    Sure modal applies. If you open the form modal and popup, that is, open it as a dialog, then the user can't click anything else until he closes that form.

    If you're using a switchboard created using the Switchboard Manager add-in, then you can create a macro that opens that particular form using a WindowMode argument of Dialog and use the Run Macro action in the Switchboard to launch that form as a popup modal form. That means it remains on top and keeps the focus until it is closed, so make sure you give the user a method for closing the form.
    Charlotte

Posting Permissions

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