Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
BindEvent() Why does it not work with the Error-event ?
Message
 
 
To
18/12/2007 15:34:09
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00947460
Message ID:
01276569
Views:
18
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--
Previous
Reply
Map
View

Click here to load this message in the networking platform