Page 1 of 1

Does EditorGadget() now support EventType()?

Posted: Sat Mar 30, 2013 9:18 pm
by Little John
Hi,

I would like to know whether EditorGadget() now officially supports EventType().

Formerly, EditorGadget() did not support EventType(); it's for instance documented in this post by srod.
So srod added (on Windows) a SendMessage_() command, in order to enable the editor gadget to send #EN_CHANGE notifications.

Running that code e.g. with PB 5.11, the editor gadget sends notifications of 'change' events, without an additional SendMessage_() command (on Windows).
But the documentation still does not list EditorGadgets as being able to work with EventType().

So are those notifications only sent by chance in PB 5.11, or has this been changed and just not been documented?

Re: Does EditorGadget() now support EventType()?

Posted: Sat Mar 30, 2013 9:26 pm
by luis
EditorGadget() HELP wrote: The following events are supported through EventType():
#PB_EventType_Change: The text has been modified by the user.
So I guess the answer is Yes.

Re: Does EditorGadget() now support EventType()?

Posted: Sat Mar 30, 2013 9:27 pm
by ts-soft

Re: Does EditorGadget() now support EventType()?

Posted: Sat Mar 30, 2013 9:32 pm
by Little John
I see, thanks. :-)
Then they just forgot to update the documentation of EventType().