Does EditorGadget() now support EventType()?

Everything else that doesn't fall into one of the other PB categories.
Little John
Addict
Addict
Posts: 4869
Joined: Thu Jun 07, 2007 3:25 pm
Location: Berlin, Germany

Does EditorGadget() now support EventType()?

Post 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?
User avatar
luis
Addict
Addict
Posts: 3895
Joined: Wed Aug 31, 2005 11:09 pm
Location: Italy

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

Post 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.
"Have you tried turning it off and on again ?"
User avatar
ts-soft
Always Here
Always Here
Posts: 5756
Joined: Thu Jun 24, 2004 2:44 pm
Location: Berlin - Germany

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

Post by ts-soft »

PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Image
Little John
Addict
Addict
Posts: 4869
Joined: Thu Jun 07, 2007 3:25 pm
Location: Berlin, Germany

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

Post by Little John »

I see, thanks. :-)
Then they just forgot to update the documentation of EventType().
Post Reply