Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to prevent form open many times ?
Message
De
23/04/2001 23:38:37
 
 
À
23/04/2001 21:47:43
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00498813
Message ID:
00498830
Vues:
12
Hi Kengwen,

If your form's Name property is the same as the actual SCX name, the following code will work when used in an App objct or in the menu procedure....

Here's the code:
LPARAMETERS cFrmName,vFormParms
IF WEXIST(cFrmName)
   ZOOM WINDOW (cFrmName) NORM
ELSE
   IF PARAMETERS()=2
      DO FORM (cFrmName) WITH vFormParms
   ELSE
      DO FORM (cFrmName)
   ENDIF
ENDIF
RETURN



> I am develop an application and that will have menu, and by menu to click for open a form. And i wish to avoid user will click many times to open the form many times. How to prevent it ?
> Thanks
>
>
>kengwen
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform