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 » [FEATURE] WhenLostFocus in EditField
Re: [FEATURE] WhenLostFocus in EditField [message #30967 is a reply to message #30955] Sun, 30 January 2011 16:49 Go to previous messageGo to previous message
koldo is currently offline  koldo
Messages: 3358
Registered: August 2008
Senior Veteran
mirek wrote on Sat, 29 January 2011 20:40

koldo wrote on Thu, 27 January 2011 08:16

Hello all

When filling fields, I would like to check if the value is valid not when keying letters but just when losing the focus.

To avoid subclassing to use virtual LostFocus(), would it be possible to have a WhenLostFocus in EditField?. Or, is there any other way to validate the value of a field?


There are also quite hand virtuals ChildLostFocus/ChildGotFocus which IME in most cases cover this issue quite well.


Thank you Mirek

For now is valid for me (in fact I used the same checking function for all field changes).

Perhaps in the future something could be included Rolling Eyes


Best regards
IƱaki
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: New Select form in DocEdit or LineEdit
Next Topic: TextCtrl (aka LineEdit,DocEdit) dont use global Style
Goto Forum:
  


Current Time: Mon Apr 29 18:50:16 CEST 2024

Total time taken to generate the page: 0.01804 seconds