Disabled gadget events

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
User avatar
nblackburn
User
User
Posts: 67
Joined: Mon Aug 19, 2013 1:22 am
Location: United Kingdom
Contact:

Disabled gadget events

Post by nblackburn »

I feel it would be a good idea to allow disabled gadgets to continue sending/receiving certain events but in a more restricted manor.

For example the editor would be able to receive #PB_EventType_Change when it's disabled so you can continue checking if it's content was changed instead of manually having to issue a event when this happens.
Last edited by nblackburn on Sun Aug 25, 2013 10:56 am, edited 1 time in total.
Image
Fred
Administrator
Administrator
Posts: 18162
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: Disabled gadget events

Post by Fred »

Events are sent when the user acts on the gadget, not when done programmatically. You can't have any event on a disabled gadget as the user can't use it.
Post Reply