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 » LineEdit, EditFields, DocEdit » Lost focus in edit fields
Re: Lost focus in edit fields [message #27683 is a reply to message #27677] Thu, 29 July 2010 14:54 Go to previous message
jeremy_c is currently offline  jeremy_c
Messages: 175
Registered: August 2007
Location: Ohio, USA
Experienced Member
Thanks. A slight typo fix though:

template <class T>
struct WithLostFocus : public T {
		Callback WhenLostFocus;
		
		virtual void LostFocus() {
			T::LostFocus();
			WhenLostFocus();
		}
};


i.e. WhenFocusLost() changed to WhenLostFocus();

Jeremy
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: How to add a currency symbol to an EditDoubleSpin?
Next Topic: What do you think about this approach to making CodeEditor more user extendable?
Goto Forum:
  


Current Time: Sat May 11 23:12:15 CEST 2024

Total time taken to generate the page: 0.03108 seconds