An example of Nancy's recomendation:
SET STEP ON
IF .EditMode=.T.
.cmdNew.ENABLED =.F.
.cmdSave.ENABLED =.T.
.cmdRevert.ENABLED =.T.
.cmdDel.ENABLED = .T.
ENDIF
>Hi Nancy,
>
>I find it in a minute a go...some code for test purpose in activate method do this trouble.
>
>Thank's anyway for the response.
>
>Another thing, i'm new to VFP, how can i trap things like that with debug?
>
>João
Imagination is more important than knowledge