Right you are, good catch! Thus TYPE("_SCREEN.ActiveForm") is better.
>Hi Steve,
>
>Beside VarType() being almost non-existent in VFP 5, it also causes an error when there's no active form anymore. Isn't it great when functions behave consitently. *eg*
>
>Christof
>
>
>>Alfier,
>>
>> DO WHILE VARTYPE(_SCREEN.ActiveForm)= "O"
>> _SCREEN.ActiveForm.Release()
>> ENDDO
>>
>>
>>>Hello,
>>>
>>>We are using Visual FoxPro 5.0. If we want to quit a program we want to know which forms are opened and execute there release routines instead of using the RELEASE ALL-command. Is there a way to do that?
>>>
>>>Greetings,
>>>
>>>Afier Appelman