Hi Nancy,
I figured that out, but I was hoping someone had thought of a way to accomplish what I wanted. I finally figured something out.
Instead of putting "_DV" into the property sheet, in the form.load() I put "this.lDV = this.lDV and _DV". That way I can change lDV in the property sheet and it affects every method in the form.
>Bill-
>>
>>my Default Include file includes:
>>#DEFINE _DV ( VERSION( 2 ) = 2 and _VFP.STARTMODE = 0 )
>>
>>I would like to put _DV into the property sheet of my form, but I can't get it to work.
>>
>>I have no problem putting _DV into the method code anywhere, just not into the property sheet.
>>
>>If I put "_DV" into a property I get an error when I test it.
>>If I put "=_DV" into a property it always evaluates to .F.
>
>#DEFINE statements are evaluated at compile time. Properties are evaluated at runtime. During instantiation to be precise.
Bill Morris