Operation is not allowed when the object is open?..

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • alexsunny123
    Banned
    New Member
    • Oct 2020
    • 2

    Operation is not allowed when the object is open?..

    Hello,

    have created a form in which i call other forms from the main form ..
    When i click a particular button twice there is an error .. Can anyone help me to solve my problem.. The error is:::
    ERROR 3705
    "Operation is not allowed when the object is open"...

    Here i am l posting the code so that you all may get some idea.

    thanks
    alexsunny
  • SwissProgrammer
    New Member
    • Jun 2020
    • 220

    #2
    I did not see your code.

    If my memory is correct, you should be able to detect a single-click and upon doing so disable the button until you have done what it is that you are doing.

    As a potential error blocking operation, you might detect a double-click on the button and then check to see if the single click was detected previously. If the single click was not detected, then run the code that should have been run when the single-click was detected. A simple global like "was_single_cli ck_detected" could be used to answer the question and be set to react to the situation.

    Thank you for asking.

    Comment

    • SioSio
      Contributor
      • Dec 2019
      • 272

      #3
      As if copied Same Question

      Comment

      Working...