| Subject |
Re: Form closing when idle |
| From |
Mustansir Ghor <mustan31@hotmail.com> |
| Date |
Wed, 16 Jun 2021 13:12:45 -0400 |
| Newsgroups |
dbase.getting-started |
Dear Meryn Sir
Once again thank you. This will enhance my app to great extent.
Best Regards
Mustansir
Mervyn Bick Wrote:
> On 2021/06/14 09:18, Mervyn Bick wrote:
>
> OOPS. Mind in neutral. :-(
> >
> > function form_canClose()
> > local f
> > f = findinstance("Form1Form")
> > if not empty(f)
> > f.close()
> > f := findinstance("Form1Form",
> > endif
> >
> > f = findinstance("Form2Form")
> > if not empty(f)
> > f.close()
> > f := findinstance("Form1Form",
> > endif
> > //repeat for all forms which may be open
> > return true
>
>
> function form_canClose()
> local f
> f = findinstance("Form1Form")
> if not empty(f)
> f.close()
> endif
>
> f = findinstance("Form2Form")
> if not empty(f)
> f.close()
> endif
> //repeat for all forms which may be open
> return true
>
> Mervyn.
|
|