What you didn’t know about Visual FoxPro ?

What you didn’t know about Visual FoxPro ?

By Ghulam Nabi Shah | Published on February 16th, 2015 | Last updated on September 30th, 2024 |

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 Executive Officer at Macrosoft Inc
Shah is a forward thinking, institutional leader with eighteen years of experience. During his tenure as CEO, Shah has delivered top notch customer solutions in large scale and enterprise environments. His proven abilities as a technology visionary and driver of strategic business systems development allow Macrosoft to deliver best in class software solutions. Shah is the catalyst that brings IT to organizations, enables innovation, and expands the delivery of global capabilities. He also fuels business growth, and optimizes delivery while managing risks and costs. Shah currently holds a compiler patent with the US Patent Office.

Shah holds an MBA (Computer Science), in addition to 20+ professional and technical certifications. While he is proficient in a variety of development languages, his preferred language is Python. His areas of expertise include enterprise-wide architecture, application migration, IT transformation, mobile, and offshore development management. Shah’s ultimate goal, at Macrosoft, is to create a larger offering of product-based services while adopting new technologies.

In that rare instance when he has time for leisure, Shah is an avid cricket and football fan and a weekly racquetball player.
Recent Blogs

How to Virtualize your VFP Application
How to Virtualize your VFP Application
Read Blog
The 5 most common mistakes while migrating Visual FoxPro to .NET
The 5 most common mistakes while migrating Visual FoxPro to .NET
Read Blog
Three Steps to Follow for Successful VFP Migration Projects
Three Steps to Follow for Successful VFP Migration Projects
Read Blog
6 Factors to Consider When Deciding Between A Migration or An Off The Shelve Solution
6 Factors to Consider When Deciding Between A Migration or An Off The Shelve Solution
Read Blog
14 Key Factors that Drive Application Modernization and Migration
14 Key Factors that Drive Application Modernization and Migration
Read Blog