>>What do you think?
>
>Perfect. Beautiful.
>
>It doesn't seem like it would be too difficult either.
I tend to agree, but not being a member of the FoxTeam...At least this much may already be in place. Consider the following:
CREATE CURSOR FileTime (LowDT I, HighDT I)
SCATTER NAME oDT BLANK
? oDT.LowDT, oDT.HighDT
oDT is an object, but no methods.
I'm wondering....< slips into Dr. Frankenstein guise >...Igor, batten everything down. It's time to see if we can blow up VFP again!:-)
>As an aside- the new object browser in VFP7 ships with an "Add-In" that creates a VFP header file (well, a string of #DEFINEs) from a typelib, much like Rick's wwTypeLib utility does. The add-in doesn't work on my machine (none of them do), but in looking at the code, it's exactly as I suspected: it uses the TLI object from the browser to traverse the constants collection in the Typelib, and builds a string of DEFINES. This will allow you to drag the "Constants" node from the object browser to a code window to automatically create the header file. Slick. If only it would work. :-)
It is a Tech preview, so I'm sure it'll all be working by the time it's released.
George
Ubi caritas et amor, deus ibi est