Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Find all forms in project with height above x?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01562803
Message ID:
01562814
Views:
42
>My client has got new laptops for a bunch of users, and the screen resolution is not as good as the old ones.
>What I'd like to do is cycle though all the forms in my project and see which ones have a .height > 700. Is there a quick way to do this?

You could create a .prg to load all your forms into an array (if they are all in the same folder) and then scan the array. Open each form (with USE as a .DBF) and check the value of the .height property. I have not tried this but in general tried this approach when I need to find something in all my classes or all my forms.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform