Forums before death by AOL, social media and spammers... "We can't have nice things"
|    comp.databases.paradox    |    To crash or not to crash, asks Borland    |    9,834 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 9,300 of 9,834    |
|    Robert Wiltshire to All    |
|    Re: Preventing a form from opening a sec    |
|    26 Jul 08 16:48:32    |
      From: nomail@nospam.com              Originally I had looked at this task as              if ifFormAlreadyOpen        then        do not allow 2nd instance of form to open        else        allow this form to open        endif                     But really it is more like this :              if isFormAlreadyOpen        then        do not allow 2nd instance of form to open        surface 1st instance of form        else        allow this form to open        endif              And while using a semaphore,       such as a file or environment variable helps to determine       the "isFormAlreadyOpen" part of the task,       they do not address the total solution necessary,       specifically the 'surface 1st instance of form'              Thank you for comments and suggstions.              --- SoupGate-Win32 v1.05        * Origin: you cannot sedate... all the things you hate (1:229/2)    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca