>> Qu'est-ce qui m'échappe ?
>
> L'aide ...
>
>
> Remarks
>
> .....
>
> 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. These events are treated
> as method calls internally by Visual FoxPro, even though they are
> considered events. The same behavior applies to the Refresh method of an
> object on a form that is called when the form's Refresh method is
> called. Certain events such as When and Valid require code in the event
> for it to occur.
> ....
>
>
>
>
> ______
> Gregory
> ______
> "Thierry N" wrote in message news:je55a5$2j1j$1@news.niouzes.net...
>
> Bonjour,
>
> BINDEVENT(oEventSource, cEvent, oEventHandler, cDelegate [, nFlags])
>
> D'après ce que je comprends de la doc, la valeur
> nFlag = 2 (bit 1 à 1)
> empêche .cEvent() de s'exécuter.
>
> Or, avec
> BindEvent(m.this, 'ProgrammaticChange', m.this, 'wAdaptNotes', 2)
>
> .ProgrammaticChange() s'exécute quand .Value change dans le code.
> Je ne vois même pas .wAdaptNotes() s'exécuter.
>
> Qu'est-ce qui m'échappe ?