U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » LineEdit, EditFields, DocEdit » [FEATURE] WhenLostFocus in EditField
Re: [FEATURE] WhenLostFocus in EditField [message #30955 is a reply to message #30877] Sat, 29 January 2011 20:40 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14291
Registered: November 2005
Ultimate Member
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.
 
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 Sep 14 03:03:36 GMT+2 2026

Total time taken to generate the page: 0.00656 seconds