Hi Frank,
The problem is the nFlag parameter value you're passing. From VFP help: "Certain control events such as GotFocus, LostFocus, InteractiveChange, and ProgrammaticChange do not work if the second bit of the nFlags parameter is set, for example, nFlags set to 2". The ERROR method is not listed explicitly but above is applicable to it.
BINDEVENT(THIS,"Error",THIS.Errorist,"ErrorHandlerDevMode")
>I thought that I had posted this yesterday, but I don't find it today...?
>
>I am trying to establish BINDEVENT() on the error event when goApp.lDevMode = .T.
>The aim is to toggle the binding in goApp.lDevMode_Assign
>
>I can't seem to get the binding to take effect.
>What am I missing?
>I'm on VFP 8.0 SP1
>
>Thank you for your attention and consideration.
>Any worthwhile advice will be welcomed and appreciated.
<snip>
--sb--