Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
BindEvent() Why does it not work with the Error-event ?
Message
 
 
À
18/12/2007 15:34:09
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00947460
Message ID:
01276569
Vues:
17
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--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform