Greg --
There is also an uninstall PRG that comes with PEMEditor, achieving the same effect as your code.
>>With this library (one class is cursoradapter and another is custom) the error is 100% reproducible and unavoidable. Is there a simple way to temporary turn PEMEditor off and on or I have to un-install and re-install?
>
>I created the following when I was having trouble with PEME working with OLE based classes (this now has been fixed by Jim) to toggle PEME off/on:
>
>
>USE (_FOXCODE) IN 0 AGAIN SHARED
>SELECT foxcode
>LOCATE FOR type="M" .AND. abbrev="NEW PROPERTY..."
>IF FOUND()
> IF DELETED()
> RECALL
> ELSE
> DELETE
> ENDIF
>ENDIF
>LOCATE FOR type="M" .AND. abbrev="NEW METHOD..."
>IF FOUND()
> IF DELETED()
> RECALL
> ELSE
> DELETE
> ENDIF
>ENDIF
>LOCATE FOR type="M" .AND. abbrev="EDIT PROPERTY/METHOD..."
>IF FOUND()
> IF DELETED()
> RECALL
> ELSE
> DELETE
> ENDIF
>ENDIF
>USE
>
Jim Nelson
Newbury Park, CA