Calvin shows Excel’s Gradient bars in VFP

Calvin’s post shows how to write gradient bars in your grid. The actual execution is a bit wonky if you’re not running on Windows XP but you can still see the results here.

Note: this reminded me a little of Mike Brachman showing colored browse windows in FoxPro DOS way back when – except that the colors move with the form because they are directly attached to its HWND. Nonetheless, it’s a cool example of what’s possible when you grab some features from some DLLs (in this case OLEACC.DLL and GDIPLUS).