Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Return a form file name, not Form Name
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Miscellaneous
Thread ID:
01522082
Message ID:
01522084
Views:
59
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform