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++ Widgets - General questions or Mixed problems » Exclamation Popup: two clicks to dismiss
Re: Exclamation Popup: two clicks to dismiss [message #15377 is a reply to message #15363] Fri, 18 April 2008 03:05 Go to previous messageGo to previous message
indiocolifa is currently offline  indiocolifa
Messages: 49
Registered: January 2008
Location: Argentina
Member
luzr wrote on Thu, 17 April 2008 13:58

Exactly.

The problem is that you will get ChildLostFocus for the editfield being left. Then prompt popups and you are getting another one (for the new editfield), BUT at that moment, you do not have your "lastFocus" changed yet (because you have not given it a chance to happen).

Actually, the real moral of the story is "do not change the focus in the process of changing the focus" Smile

Mirek



I understand Mirek. Since U++ does not provide a "WhenLostFocus" style callback, what do you think it's the best approach to validate a field when the user leaves it (I need this).

Thank you very much for your help, both cbpporter and mirek.
 
Read Message icon9.gif
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Equivalent widgets
Next Topic: Ctrl::GlobalBackPaintHint() and GLCtrl
Goto Forum:
  


Current Time: Thu Sep 04 12:57:52 CEST 2025

Total time taken to generate the page: 0.04398 seconds