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
Tips and Challenges on How to Import FoxPro DBF File to Microsoft SQL Server
Tips and Challenges on How to Import FoxPro DBF File to Microsoft SQL Server
Read Blog
Why Financial Institutions Must Prioritize VFP Migration
Why Financial Institutions Must Prioritize VFP Migration
Read Blog
How to Convert VB6 to VB.NET in 2015
How to Convert VB6 to VB.NET in 2015
Read Blog
Dazzle 3.0 Pre-Launch : Ready-to-use .NET Framework for Legacy Conversion
Dazzle 3.0 Pre-Launch : Ready-to-use .NET Framework for Legacy Conversion
Read Blog