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 » static Ctrl causes running failure
Re: static Ctrl causes running failure [message #31807 is a reply to message #24152] Tue, 29 March 2011 11:23 Go to previous messageGo to previous message
kohait00 is currently offline  kohait00
Messages: 939
Registered: July 2009
Location: Germany
Experienced Contributor
i was using a similar approach and switched to INITBLOCK / ONCELOCK since i thought they were about to be initialized *after* the GUI main init stuff. but this is not neccessarily the case right?
INITBLOCCK / ONCELOCK are part of Core..

having a stack object EditField i.e. in a INITBLOCK yields same error. the control is created first, then gui stuff. so it's not a problem of static controls, but of their early init.

is there a possib to securily trigger the GUI init stuff first?

the problem is also that, once the i.e. EditField has been inited somewhere before GUI, even if it ceases to exist, the effects of the wrong overall init sewuence are visible for later controls.

seems as if some global params of gui are beeing spoiled up.
interestingly enough, this happens in msc debug, not in optimal.

attached is a test case.
compile MSC9 GUI MT, debug
  • Attachment: StatTest.rar
    (Size: 1.09KB, Downloaded 231 times)
 
Read Message icon9.gif
Read Message
Read Message
Read Message
Read Message
Previous Topic: Show() in .usc
Next Topic: BUG? DropList shows first of entries with same key
Goto Forum:
  


Current Time: Wed May 15 00:38:46 CEST 2024

Total time taken to generate the page: 0.01525 seconds