Home » U++ Library support » LineEdit, EditFields, DocEdit » Lost focus in edit fields
Re: Lost focus in edit fields [message #27677 is a reply to message #27676] |
Thu, 29 July 2010 12:57   |
mrjt
Messages: 705 Registered: March 2007 Location: London
|
Contributor |
|
|
Just use the one from this thread in your own code, though it doesn't need as much code as above:
template <class T>
struct WithLostFocus : public T {
Callback WhenLostFocus;
virtual void LostFocus() {
T::LostFocus();
WhenFocusLost();
}
};
[Updated on: Thu, 29 July 2010 12:58] Report message to a moderator
|
|
|
 |
|
Lost focus in edit fields
By: Zbych on Thu, 30 July 2009 10:17
|
 |
|
Re: Lost focus in edit fields
By: mirek on Sat, 01 August 2009 08:56
|
 |
|
Re: Lost focus in edit fields
By: Didier on Sat, 01 August 2009 10:43
|
 |
|
Re: Lost focus in edit fields
By: mirek on Sat, 01 August 2009 11:16
|
 |
|
Re: Lost focus in edit fields
By: Zbych on Sat, 01 August 2009 11:41
|
 |
|
Re: Lost focus in edit fields
By: Didier on Sat, 01 August 2009 12:25
|
 |
|
Re: Lost focus in edit fields
By: mirek on Sat, 01 August 2009 14:30
|
 |
|
Re: Lost focus in edit fields
By: Didier on Sat, 01 August 2009 16:23
|
 |
|
Re: Lost focus in edit fields
By: mirek on Sat, 01 August 2009 14:28
|
 |
|
Re: Lost focus in edit fields
By: Giorgio on Thu, 27 August 2015 09:05
|
 |
|
Re: Lost focus in edit fields
|
 |
|
Re: Lost focus in edit fields
By: mrjt on Thu, 29 July 2010 12:57
|
 |
|
Re: Lost focus in edit fields
|
Goto Forum:
Current Time: Wed Jul 16 01:34:34 CEST 2025
Total time taken to generate the page: 0.02801 seconds
|