Hi there,
I'd like to propose a new event: #PB_Event_Checked, which will be for checking and unchecking the Checkbox of a ListIconGadget.
It will give back the Gadget and Entry of the ListIcon where the change occurred.
This way, you can e.g. disable Gadgets without the need of scanning the ListIconGadget every now and then...
Thanks
ListIconGadget - Checked Event
-
- Enthusiast
- Posts: 772
- Joined: Tue May 20, 2008 2:12 am
- Location: Cologne, Germany
- Contact:
ListIconGadget - Checked Event
Regards,
JamiroKwai
JamiroKwai
Re: ListIconGadget - Checked Event
+1
Would be nice for TreeGadget, too.
Would be nice for TreeGadget, too.
-
- Always Here
- Posts: 6425
- Joined: Fri Oct 23, 2009 2:33 am
- Location: Wales, UK
- Contact:
Re: ListIconGadget - Checked Event
I think if you want it to apply to a specific gadget like a ListIcon, then it's name should suggest that association.
e.g. #PB_EventType_ListIconRowChecked, #PB_EventType_TreeNodeChecked
We already have general events that can be deployed, #PB_EventType_LeftClick and #PB_EventType_Change
e.g. #PB_EventType_ListIconRowChecked, #PB_EventType_TreeNodeChecked
We already have general events that can be deployed, #PB_EventType_LeftClick and #PB_EventType_Change
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
If it sounds simple, you have not grasped the complexity.
Re: ListIconGadget - Checked Event
I know...
The problem is simple. I only want to fire an event, when a checkbox changed. The problem is, I can change the state of a checkbox per click and per keyboard (spacebar).
So I have to "save" an state of a gadget and compare every time "change" or "click" is fired.
The problem is simple. I only want to fire an event, when a checkbox changed. The problem is, I can change the state of a checkbox per click and per keyboard (spacebar).
So I have to "save" an state of a gadget and compare every time "change" or "click" is fired.