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 » Drop list is not shown
Re: Drop list is not shown [message #43927 is a reply to message #43926] Fri, 21 November 2014 11:50 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Mindtraveller wrote on Fri, 21 November 2014 00:52
Mirek, what is the correct way of using Error() call in this case?


Usually, I have Sync method in dialogs like these, which manage all enable/disable and error issues. Widgets that are important to this status (or all) call Sync in WhenAction...

The problem with Convert is that it is meant to be used in Paint, so perhaps it should not call any GUI. But I am not quite sure how to document that...

I am thinking about simply detecting this kind of problem in debug and issuing some explaining ASSERT on failure (e.g. when Refresh is called in Paint and this repeats in N (e.g. 1000) successive calls to Paint without ever getting different event).
 
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
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Switch feature contribution + StaticText USC file correction
Next Topic: AK example and/or key_source bug?
Goto Forum:
  


Current Time: Fri Mar 29 03:21:15 CET 2024

Total time taken to generate the page: 0.00903 seconds