What you didn’t know about Visual FoxPro ?

What you didn’t know about Visual FoxPro ?

By Ghulam Nabi Shah | February 16th, 2015 |

VFP from the eye of a Programmer

Visual FoxPro has many landscapes that are confusing and could even be mistaken for bugs. The more applications that get developed, and the bigger the teams that work on them, and the more often the software is revised, the more class library management skills are important.

Face it: you can’t ship a large application without good class management. As program size increases, proper structure becomes exponentially more important. This blog post is for advanced visual FoxPro developers to help them become a more effective class librarian.

Know the Visual FoxPro Class Browser and Component Gallery, and appreciate what each does best. A class library is simply a physical bundle of classes. When working with visual class libraries you should use the Class Browser. But be mindful because classes should be vague in an assortment of ways.

The good news is, the deeper your class chain of command, the further you’ll appreciate SuperCls.PRG, which also works with Visual FoxPro. This also gives you the capability to edit superclass code while functioning in the class designer’s code editing windows as well.

Remember, you should be using Tools/Options/Field Mapping to generate a set of default classes that Visual FoxPro will request when moving fields from the Data Environment.

From the outside looking in, segmenting classes into libraries seems easy: Remember to keep first-level subclasses in one VCXes, because all forms organized in one VCX, cool controls collected in another, with other VCXes for instances, composite classes and toolbars. Everything is direct and, if something, things should be simple to find.

Ghulam Nabi Shah on Linkedin
Ghulam Nabi Shah
Chief Technology Officer at Macrosoft Inc
Shah is a forward thinking, corporate leader with eighteen years’ experience delivering top notch customer solutions in large scale and enterprise business environments. His proven abilities as a technology visionary and driver of strategic business systems development allow Macrosoft to deliver best in class software solutions. At Macrosoft, Shah has successfully delivered multiple migration projects. Shah holds an MBA in addition to multiple professional and technical certifications. His areas of expertise include enterprise-wide architecture, application migration, IT transformation, mobile, and offshore development management.
Recent Blogs

Speeding Your Application Migration with Code Morph
Speeding Your Application Migration with Code Morph
Read Blog
5 Prongs on Migrating Legacy VB6 Application to .NET
5 Prongs on Migrating Legacy VB6 Application to .NET
Read Blog
Role of “Best-Practices” in Our VFP-to-.NET Conversion Projects
Role of “Best-Practices” in Our VFP-to-.NET Conversion Projects
Read Blog
Migrating Visual FoxPro to .NET Environment
Migrating Visual FoxPro to .NET Environment
Read Blog

Copyright @ 2019 Macrosoft Inc