Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Return a form file name, not Form Name
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Divers
Thread ID:
01522082
Message ID:
01522084
Vues:
61
>Is there anything that will return the file name of the form that currently has focus? I have an on key label that runs a sort prg to give me the name of the current form so i know where the heck I am in a system I haven't worked on in a year or so. The problem is sometimes the form was copied from another and still has the original, now wrong, name.

What does

_screen.ActiveForm.Name

return?

(You first need to check if there is one)

UPDATE. I re-read the title of the question - I can not think of a solution from the top of my head.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform