Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Prevent user to open form second time
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 7
OS:
Windows XP
Network:
Novell 4.x
Database:
Visual FoxPro
Divers
Thread ID:
00980766
Message ID:
00981859
Vues:
46
>Thanks for your reply, can u brief me where to put this function. In stored Procedure or the Load event of the form.
>
>Further to my query, can u guide me how can I disable the same item from the menu where the form has been called.
>
>Thanks/Regards - Saif



I acutally put in my main.prg. Make sure you add the line:
set procedure to main.prg additive
to the main.prg itself. That way I can call it from anywhere in my program.


To disable a menu item if the form it loads is already loaded add a line like:
isFormLoaded("frmCustomer")
to the 'skip for' property in the options of the menu item. When the 'skip for' expression evaluated to true, the menu item is disabled.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform