Visual FoxPro – Tips & Tricks
In this section of my VFP Blog I am writing about cool code fragments and “good 2 know” things.
| Table of Content |
Dynamic Declarations and Value AssignmentsPrimarily, I only wanted to write about the bad habit of using VFP's Macro Substitutions over and over again instead of utilizing faster native commands. But in this context, there still is more to talk about. Thus, this is a general blog post dealing with any kind of native optimization, where 'native' means replacing a slow VFP command with another, faster one. Preprocessor and Compile-Time HandlingDo you think the way you manage your nested include files is the perfect one? Do you believe that VFP cannot replace constant definitions in strings, and that two defined constants with the same name but different values must always clash? Then this article may be worth reading! Write Protect Your PropertiesSometimes you want some of your properties being read-only. There are several ways to do that in VFP. All have their pros and cons. This article describes my way of doing it and how I got there. Cool VFP Event BindingYou know all about VFP’s native event binding, do you? Hierarchical Table Order (on one column only!)This is my entry posting: Hierarchical indexing/sorting VFP table data on one column only using plain-vanilla CDX-indexing, is one of my “secrets“ I like to share with you. Meanwhile, I’m using that kind of indexing in many places, as in my native VFP TreeView, for instance. LOADPICTURE() Function - Some Myths RevealedVFP’s LOADPICTURE() creates a COM picture object and returns a fancy interface reference. Lately, I contributed some content for the Design Time References (Monitor Designer Changes) | |
Many VFP-developers who are going to code some cool tools that work with a Form- or a Class-Designer session are faced with a common problem: How to monitor the existence of that designer session? | |
| |
| |
| |