Page 1 of 1
Events with EventType for [allmost] all gadgets
Posted: Fri Jun 19, 2009 9:43 pm
by Marlin
I've been missing these for some time.
Now I'm aware enough to mention it.
I think, all Gadgets that can take keyboard focus should at least allow
to get a GotFocus and LostFocus event.
Among other highly desired EventTypes for [allmost] all gadgets would also be
"Changed".
(I'm thinking mostly of the EditorGadget und TreeGadget now,
because those are the ones I'm most using at the moment,
but this should not be limitted to those.

)
Re: Events with EventType for [allmost] all gadgets
Posted: Thu Nov 18, 2010 8:47 am
by jamirokwai
+1
I need the #PB_EventType_LostFocus for DateGadgets (which technically are StringGadgets, I think).
Actually, having all events for all gadgets would improve event-handling even more...
Would be great to have these

Re: Events with EventType for [allmost] all gadgets
Posted: Thu Nov 18, 2010 7:56 pm
by DoctorLove
+1
For better cross-platform comp. this is really needed!
More eventtypes for the gadgets.
Re: Events with EventType for [allmost] all gadgets
Posted: Thu Nov 18, 2010 8:08 pm
by USCode
+1
I agree, I noticed this the other day and could use more Events and EventTypes.
Re: Events with EventType for [allmost] all gadgets
Posted: Fri Nov 19, 2010 5:30 pm
by Andre
+1
(of course cross-platform needed)
Re: Events with EventType for [allmost] all gadgets
Posted: Fri Jan 04, 2013 12:23 am
by BorisTheOld
This is an old request, but I'll just add to it rather than start a new one.
Focus/LostFocus events for more gadget types would be really helpful. Buttons would be a good start.
As we get deeper into converting our systems to PB, the lack of Focus/LostFocus events is becoming more of a problem. We write cross-platform business applications that use hundreds (thousands?) of gadgets, and need those two events for navigating through the code. The new PostEvent command is helping, but we're now writing custom gadgets using the Canvas Gadget. This will give us access to more event types.
I'm gambling that writing custom gadgets will take less time than working around the lack of Focus/LostFocus events.
Many thanks.