Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Application and form already opened
Message
De
14/11/2008 07:33:07
 
 
À
14/11/2008 06:50:40
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows XP
Database:
MS SQL Server
Divers
Thread ID:
01361879
Message ID:
01361890
Vues:
18
>Hi.
>Can someone point me in the right direction?
>Two basic questions:
>1. How to know if my application is already being executed?
>2. How to know if a form is already opened?
>Thanks in advance!
>****
>TONY Nascimento

Tony

For your form, you can access the _screen.FormCount to get the no. of forms open
then _SCREEN.Forms() object array in a loop to compare

_SCREEN.Forms( lnFormCount).Name to see if your named form is already open.
- Whoever said that women are the weaker sex never tried to wrest the bedclothes off one in the middle of the night
- Worry is the interest you pay, in advance, for a loan that you may never need to take out.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform