Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Callbacks and Timers » Feature request
Re: Feature request [message #42012 is a reply to message #39541] Mon, 10 February 2014 20:19 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Alboni wrote on Tue, 26 March 2013 14:10

I would like to see things like:

Callback whenKillFocus;
Callback whenSetFocus;
etc.

in Ctrl

that would make writing complicated forms a lot easier.



I understand the sentiment, but 'etc.' can mean a lot... In any case, each such thing means 8 bytes more in sizeof(Ctrl), which is not very good for filling e.g. ArrayCtrl with widgets.

Generally, for focus games, ChildGotFocus and ChildLostFocus virtual methods in parent often even better than those individual callbacks.
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: manually creating callback
Next Topic: Kill callbacks when parent is destructed
Goto Forum:
  


Current Time: Wed Apr 24 18:25:53 CEST 2024

Total time taken to generate the page: 0.02410 seconds